jquery 不同table 调用赋值备份
//获取第一个tr下的值
var res = $("#add_ldcOrderBox_table tr:first").find("select[name$='crBoxtype']").val();
//给主页赋值
$("#add_ldcOrderBox_table_template tr").find("select[name$='crBoxtype']").val(res);
var tr = $("#add_ldcOrderBox_table_template tr").clone();
$("#add_ldcOrderBox_table").append(tr);
resetTrNum('add_ldcOrderBox_table') ;
//给当前页的最后一列赋值
$("#add_ldcOrderBox_table tr:last").find("select[name$='crBoxtype']").val(res);

浙公网安备 33010602011771号