Name
TableRow.deleteCell( ): delete a cell in a table row â DOM Level 2 HTML
Synopsis
void deleteCell(longindex
)
throws DOMException;
Arguments
-
index
The position in the row of the cell to delete.
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 cells in the row.
Description
This method deletes the cell at the specified position in the table row.
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.