Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this is my html
HTML
<ul>
<li id="117184normal" class="statusDefaultAns">
<a href="#">
<h2>
<input quiz-option="multiple-radio" id="117184" type="radio" name="quiz-radio" res="117184"/>
</h2>
</a>
</li></ul>

and using js code
JavaScript
function Select(id) {
    var newid = id;
    $("#" + newid).attr('checked', 'checked').button("refresh");
}

with onclick i am calling this method but i am not able to checked radio button.
Posted
Updated 31-May-15 20:48pm
v3
Comments
Where the function "Select(id)" is called?

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