1、设置checkbox选中状态

①选中: .prop('checked',true);

②不选中:.prop('checked',false);

 

2、获取checkbox选中状态

.prop('checked');

相关文章:

  • 2021-10-05
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2021-10-15
  • 2022-02-11
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
相关资源
相似解决方案