deleteCell method (tr)
You can find the related objects in the Supported by objects section below.
|Required in Firefox and Opera, optional in Internet Explorer, Google Chrome and Safari. Zero-based integer that specifies the position of the cell to delete in the cells collection of the current row. The value of -1 can also be used; in that case, the last cell will be deleted. If this parameter is not specified, the deleteCell method removes the last cell in Internet Explorer and the first cell in Google Chrome and Safari.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the deleteCell method:
Did you find this example helpful?
User Contributed Comments