jQuery购物车案例
JQuery购物车案
全选模块
$('.checkall').change(function(){
//console.log($(this).prop("checked"));
$('.j-checkbox, .checkall').prop("checked",$(this).prop("checked"));
if($(this).prop("checked")){
$('.cart-item').addClass("check-
原创
2022-05-06 17:24:52 ·
705 阅读 ·
0 评论