p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning HTML, XHTML, CSS, and JavaScript (http://p2p.wrox.com/forumdisplay.php?f=541)
-   -   Problems with downloaded code (http://p2p.wrox.com/showthread.php?t=83780)

crashbandicoot May 25th, 2011 08:06 AM

Problems with downloaded code
I downloaded the code for this book. But none of the code for chapter 12: Working With JavaScript actually works. None of the effects. Does anyone kn ow why the examples don't work?

Carl47 December 23rd, 2011 04:49 PM

Difficult down load code.
If this book is for beginning, why it is so difficult to down load the code. It was supposed to be according to the title, isitn't? Can some body tell me an easy way. Thank you. Carl47

jminatel January 5th, 2012 04:44 PM

Carl47: There's a link to the code download at the top of this page. Sorry if you missed it. I'll repeat it here though:
Download the code for Beginning HTML, XHTML, CSS, and JavaScript
Hope this helps

Carl47 January 7th, 2012 01:03 PM

No download
That download is Sh.... quite a frustration. I never got it. For $35 book price could be something better. I will never buy another book from this publisher.

jminatel January 9th, 2012 09:52 AM

Carl47: I'm sorry the download is causing you such frustration. If you'd like to explain the problem in more detail here, I'll continue to try to help. Or if you want to email me and continue the discussion in email we can. I'm jminatel@wiley.com

RManFlint September 14th, 2012 04:22 PM

Carl47 is right
The code for Chapter 12 is a disaster. Much of it doesn't work, Exercise 1 at the very end in particular. Of course, there is no download code for this exercise. The book code simply doesn't work.

I sent you an e-mail once before about the problems with the book code and the download code and got no response. I doubt I'll get one this time either.

bitnap September 15th, 2012 01:15 PM

Are you trying to open the JavaScript examples locally on a PC?
There can sometimes be problems getting JS to run locally (especially in IE), see the following links:


RManFlint September 15th, 2012 03:53 PM

I tested the book code on Google Chrome, IE9 and Firefox. The validation codes for all except the last (the validation for text not exceeding 20 words) work. The validation code for the last doesn't work in any of the three browsers.

The DL code for the book doesn't have any code for exercise 1, Chapter 12, although there is a link under index in Chapter 12.

bitnap September 18th, 2012 07:57 PM

It looks like there might be an error in the answers to the exercise. The split() should say something more like this:

var tieBreakerWords = tieBreaker.split(" ");

This would split the words entered into an array every time there is a space, then the tieBreakerWords.length looks for the number of items in the array (if it is more than 20 then the error is shown).

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

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