cellIndex of a <th> element

5 views
Skip to first unread message

Colin Williams

unread,
Apr 17, 2012, 1:27:51 AM4/17/12
to dev-te...@lists.mozilla.org
I'm trying to use get the cellIndex of a table header cell with .cellIndex.
Unfortunatly it returns -1. Can anybody tell me how to get the th cell
index?

http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html#ID-82915075

Boris Zbarsky

unread,
Apr 17, 2012, 1:31:08 AM4/17/12
to
On 4/17/12 1:27 AM, Colin Williams wrote:
> I'm trying to use get the cellIndex of a table header cell with .cellIndex.
> Unfortunatly it returns -1.

In what situation? Can you link to a testcase?

-Boris
Reply all
Reply to author
Forward
0 new messages