$("#yesok").change(function() {
if($("#yesok").prop("checked")){
$("#tijiao").attr('disabled',false);//按钮可用
}
else{
$("#tijiao").attr('disabled',true);//按钮不可用
}
});
#yesok为checkbox的id
#tijiao为按钮id
$("#yesok").change(function() {
if($("#yesok").prop("checked")){
$("#tijiao").attr('disabled',false);//按钮可用
}
else{
$("#tijiao").attr('disabled',true);//按钮不可用
}
});
#yesok为checkbox的id
#tijiao为按钮id
(function(d, s, id) { let js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retur
https://view.officeapps.live.com/op/view.aspx?src=你地址