jquery--获取input radio单选框的值
html
<input type="radio" name="sex" value="man" checked> man <input type="radio" name="sex" value="woman"> woman
jquery
("[name='sex']:checked").val();
python 中文名:蟒蛇,设计者:Guido van Rossum
python 中文名:蟒蛇,设计者:Guido van Rossum
html
<input type="radio" name="sex" value="man" checked> man <input type="radio" name="sex" value="woman"> woman
jquery
("[name='sex']:checked").val();