insertRow() insertRow() inserts a new row in the table. Syntax row = table.insertRow(index) Parameters index is a number representing where in the table to insert the new row. row is an HTMLElement Example newrow = mytable.insertRow(0); // insert a new first row Notes None. Specification insertRow()
insertRow() inserts a new row in the table.
row = table.insertRow(index)
index is a number representing where in the table to insert the new row.
row is an HTMLElement
newrow = mytable.insertRow(0); // insert a new first row
None.
insertRow()