DekGenius.com
Team LiB   Previous Section   Next Section
HTMLTableSectionElement.deleteRow( ) delete a row within a table section

Availability

DOM Level 1 HTML

Synopsis

void deleteRow(long index) 
    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

HTMLTableElement.deleteRow( )

    Team LiB   Previous Section   Next Section