November 2001
Intermediate to advanced
936 pages
68h 43m
English
HTMLTableElement.deleteRow( ) — delete a row of a table
DOM Level 1 HTML
void deleteRow(long index)
throws DOMException;index
Specifies the position within the table of the row to be deleted.
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.
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.