📅  最后修改于: 2022-03-11 15:01:49.285000             🧑  作者: Mango
//jQuery listen for checkbox change
$("#myCheckBoxID").change(function() {
if(this.checked) {
//I am checked
}else{
//I'm not checked
}
});