deleteCelldeleteCell*
*



Contents  *



Index  *Topic Contents
*Previous Topic: deleteCaption
*Next Topic: deleteRow

deleteCell

Description

Deletes the specified cell (TD) in the table row and removes the cell from the cells collection. You can specify a cellIndex for the cell to be deleted from the TD, or without a cellIndex, the last cell in the cells collection will be deleted.

Syntax

object.deleteCell(index)

Return Value

No return value. Index specifies which element in the cells collection to remove.

Remarks

The following example deletes the last cell in the first row of the table

document.all.myTable.rows[0].deleteCell() 

Applies To

TR

See Also

insertCell, deleteRow


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.