jquery获取input框name相同的个数
//获取门店选中的数量
function xzshop_number() {
var shop_length = $("input[name='shop_id[]']").length;
alert("已选中"+shop_length+"个" );
}
//获取门店选中的数量
function xzshop_number() {
var shop_length = $("input[name='shop_id[]']").length;
alert("已选中"+shop_length+"个" );
}