Greetings.
I have a client who has a cart form with textboxes, radio buttons, and
checkboxes with names like "OPTION|01_Name_of_school|STDDIP", etc so
the cart will recognize them. However, she wants to use javascript in
the page to make sure everything is filled in or selected, and I keep
getting errors when I try to refer to them with these weird names.
Textboxes and checkboxes seem to work with ids:
document.getElementById('school').value
but radios and pull-downs don't. Any ideas on how to validate them
with ids, or some other way other than their goofy names?
Thanks!
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.