Easy Tutorial
❮ Dom Obj Select Jsref Tostring Boolean ❯

deleteCell() Method


Definition and Usage

The deleteCell() method is used to remove a cell (<td> element) from a table row.

Syntax

Value Description
index The index parameter is the position of the cell to be deleted within the row. This method will remove the cell at the specified position in the row.

Browser Support

All major browsers support the deleteCell() method.


Example

The following example removes a cell from a row:

❮ Dom Obj Select Jsref Tostring Boolean ❯