Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get value of radio button
Message
General information
Forum:
Internet
Category:
VBScript
Miscellaneous
Thread ID:
00192162
Message ID:
00192309
Views:
15
>We are trying to check the value of a radio button in a submit onclick. We can't seem to get it to work unless we use
>document.form.elements(#). I don't want to do that because if someone comes in and addes a new form field then it shifts all our element nubmers. anyone know how to access the value by name?
>thanks,
>gray

Instead of document.form.elements(#), can't you use document.form.elements(name)?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform