html

<input type="checkbox" />

Jquery

$(document).ready(function() {
$("#z").change(function(){
if($("#z").is(":checked")){
alert($("#z").is(":checked"));
}else{
alert($("#z").is(":checked"));
}
})
});

相关文章:

  • 2022-01-24
  • 2021-08-11
  • 2022-12-23
  • 2022-01-08
  • 2021-11-29
  • 2021-08-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案