O'Reilly Forums: Chapter 10 Page 408 - Bad Code - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 10 Page 408 - Bad Code Additional semi-colon

#1 User is offline   Midnight4 

  • New Member
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 11-October 12

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users