Hi,
How to capture the radio button group selected value using Javascript.
I have a prompt Location which is a radio button group.
Using Javascript I want to capture the selected value and do some validation.
par_Loc = getFormWarpRequest()._oLstChoicesLocation.value;
How can I do this. The above stmt is not working.
Thanks.
Hi
I got it. we have to use for loop and if condition to get the value. Here is the code.
var radbutton1;
radbutton1=getFormWarpRequest()._oLstChoicesLocation;
for (count=0;count <radbutton1.length; count++)
if (radbutton1[count].checked)
par_Loc=radbutton1[count].value;