Section 25.267. Table.deleteRow( ): delete a row of a table


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

index

Specifies the position within the table of the row to be deleted.

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( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net