Wrox Programmer Forums
| 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 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
 
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:

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

Also right below that, there is:

Quote:
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..




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





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