Sams Teach Yourself jQuery and JavaScript in 24 Hours First Edition

Copyright © 2013 Pearson Education, Inc.

ISBN-10: 0-672-33734-7 ISBN-13: 978-0-672-33734-5

Warning and Disclaimer

Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD or programs accompanying it.

When reviewing corrections, always check the print number of your book. Corrections are made to printed books with each subsequent printing.

First Printing: December 2013

Corrections for September 16, 2014

Pg Error – 1st Printing Correction 24 Hour 1, Third Paragraph, Should read: Reads: The XAAMP stack can be downloaded from The XAMPP stack can be downloaded from the the following location: following location: 25 Hour 1, Step 6, First Sentence Should read: Reads: 6. Create a directory named code in the 6. Create a directory named code in the /xamp/htdocs directory or wherever your /xampp/htdocs directory or wherever your Apache Apache root directory is set to. root directory is set to.

Updated 09/16/2014 179 Hour 6, Try It Yourself, Step 5, Line 38 Should read: Reads: 38 } 38 };

Corrections for August 28, 2014

Pg Error – 1st Printing Correction 76 Hour 3, Question 4, First Sentence Should read: Reads: 4. Add the following

element with the 4. Add the following
element with the class id attribute set to “heading” as shown in attribute set to “heading” as shown in lines 19-23. lines 19-23. 76 Hour 3, Question 5, First Sentence Should read: Reads: 5. Add the following second
element 5. Add the following second
element with the with the id attribute set to“content”as class attribute set to“content”as shown in lines 24- shown in lines 24-28. 28.

Corrections for February 19, 2014

Pg Error Correction 78 Hour 3, Using Image Elements, Last three Should read: URLs:

Reads: height="200px" /> width="200px" />

Updated 09/16/2014 109 Hour 4, Figure 4.7, Last line in output Should Read: Reads: Some BlackAdder Text Some Times New Roman Text 126 Hour 4, z-index elements Should read: Reads: div { z-index:2; } div { z-index:2; } P { z-index:2; } P { z-index:1; } 127 Hour 4, Using CSS to Lay Out Web Page Should Read: Components, #5, line 02

Reads: 02 width:48px;height:48px; 02 width:48;height:48px; 129 Hour 4, Listing 4.4-css, line 02 Should Read: Reads: 02 width:48;height:48px; 02 width:48px;height:48px; 143 Hour 5, Table 5.1, Resulting x, first three Should read: rows

Reads: 9 9”49” “45” “Four44” Four44”

143 Hour 5, Table 5.1, Resulting y, first three Should read: rows 4 Reads: 4 444 4

Updated 09/16/2014 148 Hour 5, Applying i f Conditional Logic in Should read: JavaScript, Number 6

Reads: Line 23 Line 23 document . write (“”; document . write (“” document .write (“”); Line 26 Line 29 document .write (“”) Document .write(“”); Line 29 Document .write(“”) 148 Hour 5, Listing 5.3, Line 30 Should read: Reads: Line 30 Remove Line 30 break; and renumber Line 31 Break; 149 Hour 5, Listing 5.3 Should read: Reads: Line 23 Line 23 document . write (“”; src=’images/day.ping’ />” Line 26 Line 26 document .write (“”); document .write (“”) Document .write(“”); Line 29 Document .write(“

Updated 09/16/2014 src=’images/day.png’ />”) 149 Hour 5, Listing 5.3, Line 30 Should read: Reads: Line 30 Remove Line 30 break; and renumber Line 31 Break; 151 Hour 5, for Loops, first line in syntax Should read: Reads: for (statement 1; statement 2; statement for (statement 1; statement 2; statement 3) { 3;) {

Corrections for February 12, 2014

Pg Error Correction 11 Hour 1, GET Request, Last paragraph, URL Should read: Reads: http://www.dayleycreations.com/user.html http://www.dayleycreations.com/gallery.html? ?gallery.html?gallery=01 gallery=01 16 Hour 1, Listing 1.5, Line 06 Should read: Reads: var xmlhttp = xmlhttp=new var xmlhttp = new XMLHttpRequest(); XMLHttpRequest();

This errata sheet is intended to provide updated technical information. Spelling and grammar misprints are updated during the reprint process, but are not listed on this errata sheet.

Updated 09/16/2014