Name
TableSection.deleteRow( ): delete a row within a table section â DOM Level 2 HTML
Synopsis
void deleteRow(longindex
)
throws DOMException;
Arguments
-
index
The position of the row within this section.
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 this section.
Description
This method deletes the row at the specified position within
this section. Note that for this method,
index
specifies a rowâs position within
its section, not within the entire table.
See Also
Table.deleteRow( )
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.