var form = document.forms[0]; var objTable = document.getElementById("specialFee"); var objTableBody=objTable.children(0); var rowCount = objTable.rows.length; var newRow = document.createElement("TR"); newRow.align = "center"; newRow.style.background = "#E6FFF2";
var objCell1 = document.createElement("TD"); objCell1.align="center"; var objInput1_1 = document.createElement("<input name='Vchbox' type='checkbox' value=''>"); objInput1_1.id="Vchbox"+innum; objInput1_1.attachEvent("onclick",new Function("vcheck(" +innum+ ");")); objCell1.appendChild(objInput1_1); newRow.appendChild(objCell1);
var objCell2 = document.createElement("TD"); objCell2.align="center"; var objInput2_1 = document.createElement("<input name='VSailNo' style='text-align: center;' type='text' class='input80' maxlength='6' size='6'>"); objInput2_1.id="VSailNo"+innum; objCell2.appendChild(objInput2_1); newRow.appendChild(objCell2);