TOC PREV NEXT INDEX

Put your logo here!


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()


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX