2009-09-04 28 views

回答

3

我不知道,如果你真的意味着「單選」,但如果你沒有,也許你想的這樣簡單的事情:

$("#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>"); 
});