 |
BOOK: Beginning JavaScript 5th Edition
 | This is the forum to discuss the Wrox book Beginning JavaScript, 5th Edition by Jeremy McPeak; 978-1-118-90333-9 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning JavaScript 5th Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

February 24th, 2015, 12:18 PM
|
Registered User
|
|
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Forum for 5th edition?
I just bought the kindle version of the fifth edition of this book, ISBN 978- 1- 118- 90333- 9. Will a forum be set up for it? Or do we just use this old forum?
Cheers,
Tom
|

February 26th, 2015, 02:28 PM
|
Registered User
|
|
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Error in the 5th Edition
FYI, I have found what appears to be an error (a missing line of code) in the Kindle version of the 5th Edition.
At location 893 of 21966, 7% through the book, there is code which, according to Figure 1.3, is supposed to turn the background of the page red.
However, the code in my Kindle book definitely does not have any javascript in "script block 2" to turn the background red. It only has an
alert("second Script Block");
statement.
I took a screen shot of the code in the book so I could post it here and show people, but there doesn't appear to be a way to upload an attachment in this forum.
|

February 27th, 2015, 12:05 PM
|
 |
Wrox Staff
Points: 18,059, Level: 58 |
|
|
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
|
|
Tom: I'm totally sorry for my oversight on the 5e forum which I have now created and moved your post to. Thanks for letting us know. If you'd like to email me the screenshot of the kindle error at jminatel at wiley dot com I'll take a look at it.
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click  on their post!
|
The Following User Says Thank You to jminatel For This Useful Post:
|
Tom7 (February 27th, 2015)
|

February 27th, 2015, 05:20 PM
|
Registered User
|
|
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Email sent (and thanks given). Enjoying the book, by the way.
|

February 28th, 2015, 11:57 AM
|
 |
Wrox Staff
Points: 18,059, Level: 58 |
|
|
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
|
|
Tom, you are correct.
document.bgColor = "red";
is missing. It's shown in the explanation of the code but not in the code itself.
It's also correct in the code download file.
And if you want to play with a live version of the code, you can be one of the first too see some new code sandboxes we set up here:
http://blogs.wrox.com/article/beginn...ter-1-parsing/
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click  on their post!
|
The Following User Says Thank You to jminatel For This Useful Post:
|
Tom7 (February 28th, 2015)
|

February 28th, 2015, 05:47 PM
|
Registered User
|
|
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Wow, thanks.
I really looked in depth and compared a LOT of JavaScript books before I bought Beginning JavaSCript, 5th Edition... yet 'm only now beginning to see what a smart buy this book really was!
Thanks for all this.
|

September 22nd, 2015, 09:05 AM
|
Registered User
|
|
Join Date: Sep 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
This was about chapter 1, example 2, correct?
If nothing else the omitted code for the color change made me scan the code and re-read through the example a number of times to fix it. Before I came on the forums I ended up just adding in the necessary code by myself.
Guess it taught me something by having an error lol
|

September 22nd, 2015, 09:45 PM
|
Authorized User
|
|
Join Date: Mar 2015
Posts: 34
Thanks: 3
Thanked 2 Times in 2 Posts
|
|
Right! It will help to taught. So, waiting for next updates.
|
|
 |