Problem With Radion Button List
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi There, I have redio button list.What I want to do is that I want to check which radio button selected using JavaScript.Can anybody tell me how to do this. Thanks.
Life Is Beautifull
function GetRadioButtonValue(radioButtonListName) { var radio = document.getElementsByName(radioButtonListName); for (var i = 0; i < radio.length; i++) { if (radio[i].checked) alert(radio[i].value); } }