开始使用的attr,但是只能设置成true,不能修改为false,改成prop后就正常了
$('#etxt6').prop("checked", data.passed=='1'?true:false); form.render('checkbox');
名称(*)
邮箱
网址
正文(*)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。