1:设置input的选中属性:$('.passenger').find('.is-need-tel').prop('checked',true);

2:获取input是否选中:

$('.passenger').find('.is-need-tel').click(function(){
          console.log($(this).prop('checked'));
 });

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-12-08
猜你喜欢
  • 2022-12-23
  • 2021-08-28
  • 2021-05-24
  • 2022-12-23
  • 2021-05-19
  • 2021-04-12
相关资源
相似解决方案