lakshman
05-06-2003, 07:35 PM
Hi all,
The following is from MSDN.
If you insert a row in a tFoot, tBody, or tHead, you also need to add the row to the rows collection for the table. If you insert a row in the table, you also need to add the row to the rows collection for the tBody
My code
var oTBody = document.getElementById("tbl_body");
var oTR = oTBody.insertRow();
Now, what do I need to do to add the above row to the table.
Thanks
The following is from MSDN.
If you insert a row in a tFoot, tBody, or tHead, you also need to add the row to the rows collection for the table. If you insert a row in the table, you also need to add the row to the rows collection for the tBody
My code
var oTBody = document.getElementById("tbl_body");
var oTR = oTBody.insertRow();
Now, what do I need to do to add the above row to the table.
Thanks