javascript TD cellIndex

cellIndex NN 6 IE 4 DOM 1  

 

Read-only  

Returns a zero-based integer representing the position of the current cell among all other td elements in the same row. The count is based on the source code order of the td elements within a tr element. This property is not available in the Macintosh version of Internet Explorer 4.

 
Example
 
var whichCell = document.getElementById("myTD").cellIndex;
 
Value

Integer.

 
Default

None.


2041,Nickname,Homepage or email,Comments here,Add comment