给单选框赋值

来源:互联网 发布:sqlplus执行sql文件 -c 编辑:程序博客网 时间:2024/05/22 10:50
 
$("input[name='sex'][@type=radio][value='"+obj.sex+"']").attr("checked",true);