I’m following JavaScript: Novice to Ninja, 2nd Edition and have got as far as p313. I’m not sure whether it’s me that’s missing something or the author, but in the second para, it says
The validateInline() function is called every time the event is triggered.
but I don’t see where we set up an event to call this function.