The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Another Stupid Javascript question. Again. by leejam 2010-03-01 18:37:15
Hi all...

I must be doing something wrong and the gods of Javascript are punishing me.

Link to google doc

I'm trying to get an array working that: ask the user for the names of the items, and putting each name into the array. Then I have to make sure it displays the correct label alongside the input box.

There are examples in the textbook, and apart from changing the name of 2 of the variables, it is exactly the same.

I realize that the textbook may be wrong - or out of date - but surely it should works as written?

I've used www.jslint.com to validate it but that's giving me curry as well.

I need someone to fill the cluebat with javascript and beat me across the head with it :P


Lee
[ Reply ]
  So, uh... what's it doing wrong? :-P by bwkaz2010-03-01 21:53:18
    It wasn't working at all. :) by leejam2010-03-01 22:01:48
      Uh. OK, I guess. :-) (n/t) by bwkaz2010-03-01 22:12:03

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)