JavaScript: The Definitive Guide
25.267. Table.deleteRow( ): delete a row of a table
DOM Level 2 HTML
25.267.1. Synopsis
void deleteRow(long index) tHRows DOMException; 25.267.1.1. Arguments
25.267.1.2. 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. 25.267.2. 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. 25.267.3. See Also
TableSection.deleteRow( ) |
Категории