Hi,,
<li><a href="#" id="radio">Multiple Choices</a></li>
onclick of this radio i am trying to generate a radio button with two choices .. How to do so in JQUery??
Hi,,
<li><a href="#" id="radio">Multiple Choices</a></li>
onclick of this radio i am trying to generate a radio button with two choices .. How to do so in JQUery??
I'm not sure if you really meant "radio", but if you did, maybe you want something as simple as:
$("#radio").click(function(){
$("#myRadioContainerSelector").html("<input type='radio' id='yes' name='myRadio' value='yes' /><label for='yes'>Yes</label><input type='radio' id='no' name='myRadio' value='no' /><label for='no'>No</label>");
});