var payTypeList = new Array(); $(".add-tbody").each(function(){ payTypeList.push($(this).val()); }); var payType = ","+payTypeList.join(",")+",";
var payTypeList = new Array(); $(".add-tbody").each(function(){ payTypeList.push($(this).val()); }); var payType = ","+payTypeList.join(",")+",";
转载于:https://www.cnblogs.com/wuaili/p/10374625.html