Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


deleteCell Method

Removes the specified cell ( td ) from the table row, as well as from the cells collection.

Syntax

TR .deleteCell( [ iIndex ] )

Parameters

iIndex Optional. Integer  that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.

Return Value

No return value.

Example

This example uses the deleteCell method to delete the last cell in the first row of the table.

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

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ] Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
TR
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.