dcsimg
Using JavaScript on Radio buttons in ASP pages
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Indrani_Basu
Posted On:   Wednesday, April 11, 2001 11:33 PM

I have been trying to pick up the value of a radio button using Java Script in ASP pages using syntax :
DOCUMENT.FORM.ITEM.VALUE
It is always giving me as "undefined".
Is there a way by which I can pick up the value of the radio button using java script?

Re: Using JavaScript on Radio buttons in ASP pages

Posted By:   jason_eastwood  
Posted On:   Friday, April 13, 2001 06:48 AM

Are you using the name attribute of the radio button ? So that, for example, if you type :
,

you can access the value by using
document.form.myRadioButton.value
About | Sitemap | Contact