方法一:

if($('#checkbox').is(':checked')) {
}

方法二:
if ($('#checkbox').attr('checked')) {
}

方法三:
if ($("#checkbox").get(0).checked) {
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-09
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
相关资源
相似解决方案