Availability
DOM Level 1 HTML
Synopsis
void deleteRow(long index)
throws DOMException;
Arguments
index
Specifies the position within the table of the row to be deleted.
Throws
This method throws a DOMException with a code of
INDEX_SIZE_ERR if index
is less than zero or is greater than or equal to the number of rows
in the table.
Description
This method deletes the row at the specified position from the table.
Rows are numbered in the order in which they appear in the document
source. Rows in <thead> and
<tfoot> sections are numbered along with all
other rows in the table.
See Also
HTMLTableSectionElement.deleteRow( )