Easy Tutorial
❮ Jsref Gettimezoneoffset Prop Blockquote Cite ❯

Table insertRow() Method


Definition and Usage

The insertRow() method is used to insert a new row at a specified position in a table.

Syntax

Value Description
index Specifies the position to insert the new row (starting from 0).

Browser Support

All major browsers support the insertRow() method.


Example

Insert a new row at the first position in the table:

❮ Jsref Gettimezoneoffset Prop Blockquote Cite ❯