javascript TD cellIndex
@June 1, 2008, 3:10 p.m.
cellIndex | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/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. |
Permanent URL:
http://javascript.gakaa.com/td-cellindex.aspx
Powered by Linode.