D
donpro
Hi,
Does anyone know how to use DOM to find the value of a selected radio
both (or if none were selected)?
My web page displays a set of radio buttons - the number is dynamic so
could be one or 100; I do this within a loop.
At the moment, I'm giving each one the same name and ID - not sure if
giving the same ID is correct or not. By default, no radio buttons
are selected when the page loads
When the user clicks on a a specific button on the page, I need to
check if a radio button was selected or not. I trap the 'click' event
but my code to get the radio button value has failed.
Thanks,
Don
Does anyone know how to use DOM to find the value of a selected radio
both (or if none were selected)?
My web page displays a set of radio buttons - the number is dynamic so
could be one or 100; I do this within a loop.
At the moment, I'm giving each one the same name and ID - not sure if
giving the same ID is correct or not. By default, no radio buttons
are selected when the page loads
When the user clicks on a a specific button on the page, I need to
check if a radio button was selected or not. I trap the 'click' event
but my code to get the radio button value has failed.
Thanks,
Don