$("#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=你地址