$('.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(); //删除移除该控件
$('.js-cardno-check').each(function () { if ($(this).is(':checked')) { cardNoList.push($(this).val()); } }); //input checkBox 选中
$(dataElement).css("background-color","#FFFACD"); //背景颜色