|
function chkattachs()
{
var $ = "#contentTab tr";
var trLength = document.getElementById("contentTab").getElementsByTagName("tr").length;
var xmlstr = "";
for (var k = 0; k < trLength / 2; k++) {
if (k <= trLength / 2 - 1) {
var value = new Object();
value.ActiveIngredient = $($).find("td:eq(1)").find("span").val(); //走到这一步提示缺少函数,不知道是什么问题
value.ActiveContent = $($).find("td:eq(3)").find("span").val();
value.ActiveContentUnit = $($).find("td:eq(5)").find("span").text();
xmlstr += "<ProductAuthorizationInfo>" + toXML(value) + "</ProductAuthorizationInfo>";
}
}
} 请教!!
|
|