$(‘.js-consumeSubmit‘).attr("disabled", false);//设置按钮可点击 $(‘.js-consumeSubmit‘).attr("disabled",);//设置按钮不可点击
change1: function (event) { var rowNum = event.currentTarget.attributes.num.value; //获取num属性的值 dataList[rowNum - 1].categoryId = event.currentTarget.value; //获取input文本框的内容 }
var dataList=new Array(); dataList.splice(0, 1); //list.remove(0); data.push(""); //list.add("");
var tempRowTr = $(‘.js-one-coupon-tr-0‘); tempRowTr.clone(); //复制该控件 tempRowTr.remove(); //删除移除该控件
原文地址:https://www.cnblogs.com/g-sheng/p/8921989.html
时间: 2024-10-18 05:15:36