jq 中input为radio设置选中状态,attr问题

现象:attr设置checked值显示不正确 $("input[type=radio][value='']").attr("checked","checked"); $("input[type=radio][value='']").attr("checked",true); 两者在html上的修改一致,但是页面上的显示没有更新。 <input type="radio" name="reportty
相关文章
相关标签/搜索