Page 236
In a couple of places:
myDate = new Date (year, month, date [.....
shouldn't it be....
myDate = new Date (year, month, day [.....
?
Page 242
Download code example
document.write(Halloween > AprilFools + "<br />"); // true
needs to be
document.write((Halloween > AprilFools) + "<br />"); // true
otherwise returns false due to concat with the br
- in a few places
Plus 'Halloween" / "Holloween" [mis-]spellings causing problems
Page 263
2nd last para
'set
and set' should be '
get
and set' ...?
Page 264
Download code example - definegettersandsetters.html
needs to declare dave to work:
var dave = new Person("Dave");
Page 268
Example box comment
'animal the lays eggs' should be 'animal that lays eggs'
Page 276
On page and download example (SetWindowStatus.html)
onmousover should be onmouseover
Page 280
Download code example
Missing initial <script> so wont work
Also in example that follows in the book...
Page 320
2nd para
...bubble the even back.... should be ...bubble the event back....
Page 326 and 327
Download code examples of 'Detecting Keystrokes and 'Mouse Position' would be nice
Page 369+
Download code examples (various I think)
Missing document.write so don't see what's going on
Page 371
On page and download code example
IE side of if statement missing the collapse code
Eddie