(no subject)
Jul. 13th, 2002 12:57 pmDarnit! I’m scripting TommyCee’s test and there’s an error in my Javascript. But I can’t find it! I just copied working javascript and altered text and questions, but now it’s not working anymore. *Growl* And I have read the thing over and over and over again (and with sentences like “for (i = 0; i < f.alien.length; i++) if (f.alien[i].checked) value = f.alien[i].value;” that’s no picknick) but I…argh!
no subject
Date: 2002-07-16 04:18 am (UTC)for (i = 0; i < f.else.length; i++) if (f.else[i].checked) value = f.else[i].value;
And 'else' is a part of Javascript. You can't use 'else' in your text because your Javascript will plunge nose-first to the ground. I once used the word "recipe's" and the ' is also a part of the script. That took me 3 hours to find.
But with Dreamweaver ready for use at school I could use the 'debug html' tool to fix it. Otherwise I doubt I would have found the error. It'll be up at my site soon.