Bootstrap

JS中设置input的type="radio"默认选中

 

html:

<input id="Radio1" type="radio" value="男" name="st_Sex" checked="checked"/>男
<input id="Radio2" type="radio" value="女" name="st_Sex" />女

js:

  $("#Radio1").prop('checked', true);//radio默认选中

转载于:https://www.cnblogs.com/weimingxin/p/7018017.html

;