Errata / Chapter 7

p303: Attribute filters: When selecting elements that have an attribute whose value ends with a specified set of characters use this: [attribute$='value'] (the $ sign was missed in the first print run).

p328-9: In the on() method there should be a comma between the type of event and the function on('click', function(e){    (missing in first print run).

p332: The .slideUp() method hides the selected elements witha sliding motion, and .slideDown() shows them (in the first print run these were the wrong way around).

p338: The .add() method creates a new jQuery object with elements added to the set of matched elements.

p364: The text refers to a function called updateCounter(), it should say updateCount().

JavaScript & jQuery book BUY
HTML and CSS Design and Build Websites
From the same team who made the best-selling book HTML & CSS: Design and Build Websites