function addNewDetails(){
var tbody = table.lastChild;
var row = tbody.lastChild;
var newRow = row.cloneNode(true);
newRow.all["order"].value=tbody.children.length+1;
newRow.all["item_count"].value="";
newRow.all["item_sum"].value=""; tbody.appendChild(newRow);
newRow.all["item_name"].focus();
}
var tbody = table.lastChild;
var row = tbody.lastChild;
var newRow = row.cloneNode(true);
newRow.all["order"].value=tbody.children.length+1;
newRow.all["item_count"].value="";
newRow.all["item_sum"].value=""; tbody.appendChild(newRow);
newRow.all["item_name"].focus();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货