Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Beginning JavaScript 5th Edition
Password Reminder
| 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 21st, 2015, 10:26 AM
Registered User
Points: 23, Level: 1
Points: 23, Level: 1 Points: 23, Level: 1 Points: 23, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2015
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Post Chapter 11 exmaple 6 wrong function name

In the explanation for Example 6 there is sentence:

In the following line, you add the value of the radio button the user has selected to your message string:
compSpec = compSpec + findSelectedSpeedValue();
compSpec = compSpec + "\nWith the following additional components:\n";
There is actually getSelectedSpeedValue() function not findSelectedSpeedValue()

Also right below that, there is:

It’s here that you loop through each element on the form using myForm[controlIndex], which returns a reference to the element object stored at the
controlIndex index position.
You’ll see that in this example the element variable is set to reference the object stored in the myForm collection at the index position stored in variable controlIndex.
This quote is copied from equivalent example in previous version of Book (Beginning JavaScript 4th) :)
In our example in actual book (5th) we don't have variable called controlIndex.

Last edited by PiotrG; August 21st, 2015 at 10:41 AM..
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Chapter 11 - p.372 - Ready function and AJAX/Javascript Tulsi BOOK: Beginning ASP.NET 4 : in C# and VB 1 May 5th, 2014 04:06 PM
Did I do something wrong? Chapter 1: Challenge 5 SolvedLogic BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 7 November 5th, 2012 05:21 PM
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM
Can someone see what i did wrong here chapter 6 amo BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 April 8th, 2004 01:12 PM
mid-function not working (i did something wrong) Haroldd Classic ASP Basics 3 February 11th, 2004 04:58 AM

All times are GMT -4. The time now is 01:18 PM.

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