How to get value from RadioButtonList control?

 Posted by Raja on 6/29/2008 | Category: JavaScript Interview questions | Views: 15466

Here id is the name property of the RadioButtonList

function GetRadioButtonValue(id)

var radio = document.getElementsByName(id);
for (var ii = 0; ii < radio.length; ii++)
if (radio[ii].checked)

For more details, click

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response