Errata / Chapter 6

p261: The event-flow.js file is in the code download (not on the left hand page).

p263: First diagram, the number under checkUsername should be 1.

p265: When a user leaves the form control it should call checkLength() not checkUsername().

p268: Code sample improved - see example online or in code download.

p281: Code sample improved - see example online or in code download.

p283: The variable elTermsHint is not declared on the first line of code
package should not be used as a variable name, this has been changed to pack

p285: The variable listItems should be camel case, and after the assignment operator should use elList not list. Corrected line reads:
listItems = elList.getElementsByTagName('li').length;

p290-1: Please see code download for updated example:
.

JavaScript & jQuery book BUY

In This Series