In the following script
what I have understood is:
<i>getElementId() retrives the reference to
first element having the attribute "datatable"
<ii>tbl.row.length gives the length of each row
<iii>.insertRow(lastRow) inserts a row onto the table element
<iv>insertCell(0) inserts a cell to the row
<v>document.createTextNode(iteration) creates a index.. how??
< vi> Then cell0.appendChild(textNode) appends a text to the cell...
<vii> insertCell(1) creates another cell
the value of 1st element with id as criteria.
please tell me why innerhtml is used??why not appendChild()??
next doubt: does insertCell(2) inserts the 2nd cell??
please go through the above points I mentioned and verify each point and if its
wrong then please tell me meaning of each of the lines so that I can understand each of the below
code..... please help me soon...... I'm having exam tomorrow please spare some time to read the
all above points and verify.please help me.