//全选
$("#allcheck").click(function(){
    if($(this).is(":checked")){
        $("[name='check']").prop("checked",true);//全选
    }else{
        $("[name='check']").prop("checked",false);//全选
    }
})
//导出功能
$('#excel').on('click',function(){
    var chk_value =[];
    $('input[name="check"]:checked').each(function(){
        chk_value.push($(this).val());
    });
});

相关文章:

  • 2022-12-23
  • 2021-06-21
  • 2022-02-02
  • 2021-07-06
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-03
  • 2021-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
相关资源
相似解决方案