for (var i = 2; i < lv.rows.length - 1; i++) { //get the reference of 1st column that is Srlno index 0 if (lv.rows[i].cells[0].textContent != "") { node = xmlDoc.createElement("Item"); //get the reference of 1st column that is Srlno index 0 var AttributeNode = xmlDoc.createAttribute("Srlno"); AttributeNode.nodeValue = lv.rows[i].cells[0].textContent; node.setAttributeNode(AttributeNode);} }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)