Jump to content


Photo

Chapter 10 Page 408 - Bad Code


  • Please log in to reply
No replies to this topic

#1 Midnight4

Midnight4

    New Member

  • Members
  • Pip
  • 7 posts

Posted 18 October 2012 - 09:29 AM

All,

another typo in this book. Chapter 10 seems to be the worst.

In the exercise solution on page 408 the text is given as


$("button:submit").button(); ;

This is wrong as there is an additional semi-colon here so the corrected code is

$("button:submit").button();

Leaving the semi-colon is doesn't affect the code I run, but it shouldn't be there.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users