Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 24th, 2015, 12:18 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old February 26th, 2015, 02:28 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #3 (permalink)  
Old February 27th, 2015, 12:05 PM
jminatel's Avatar
Wrox Staff
Points: 17,437, Level: 57
Points: 17,437, Level: 57 Points: 17,437, Level: 57 Points: 17,437, Level: 57
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,933
Thanks: 60
Thanked 128 Times in 97 Posts
Default

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
Blog: http://p2p.wrox.com/content/blogs/jminatel
Wrox on Twitter: http://twitter.com/wrox
Did someone here help you? Click on their post!
Reply With Quote
The Following User Says Thank You to jminatel For This Useful Post:
Tom7 (February 27th, 2015)
  #4 (permalink)  
Old February 27th, 2015, 05:20 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Email sent (and thanks given). Enjoying the book, by the way.
Reply With Quote
  #5 (permalink)  
Old February 28th, 2015, 11:57 AM
jminatel's Avatar
Wrox Staff
Points: 17,437, Level: 57
Points: 17,437, Level: 57 Points: 17,437, Level: 57 Points: 17,437, Level: 57
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,933
Thanks: 60
Thanked 128 Times in 97 Posts
Default

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
Blog: http://p2p.wrox.com/content/blogs/jminatel
Wrox on Twitter: http://twitter.com/wrox
Did someone here help you? Click on their post!
Reply With Quote
The Following User Says Thank You to jminatel For This Useful Post:
Tom7 (February 28th, 2015)
  #6 (permalink)  
Old February 28th, 2015, 05:47 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #7 (permalink)  
Old September 22nd, 2015, 10:05 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #8 (permalink)  
Old September 22nd, 2015, 10:45 PM
Authorized User
Points: 146, Level: 2
Points: 146, Level: 2 Points: 146, Level: 2 Points: 146, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2015
Location: Dhaka, Bangladesh
Posts: 39
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Right! It will help to taught. So, waiting for next updates.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newcastle (Australia) meeting - Wed 5th davidmwilliams User Group Events - INETA 0 August 31st, 2007 11:01 PM
How to select 5th Max in a Table ramk_1978 SQL Language 2 December 30th, 2004 01:41 AM
converting Forum.aspx to Forum.ascx (help) drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 11th, 2003 01:27 PM



All times are GMT -4. The time now is 11:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.