Click here to Skip to main content
15,884,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
JavaScript

Hi how can pass the value to inside radiobuttonlist using javascript
Posted
Comments
Vyacheslav Voronenko 24-Jan-13 4:43am    
Rephrase question to be more precise, provide code fragment with issue.
P_Dash 24-Jan-13 4:53am    
Also post what exactly do you want by Passing value ?
Tell the whole thing with Code block.

1 solution

C#
function GetRDBValue() {
           var radio = document.getElementsByName('rblSelection');

           for (var i = 0; i < radio.length; i++) {

               if (radio[i].checked) {

                   alert(radio[i].value);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900