cellIndex of a <th> element

Colin Williams <[email protected]> Mon, 16 Apr 2012 22:27:51 -0700
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <CAEmdY3-gkXOee4dfJojDwENxhjyK2OgSCBHfyNAZwRPmu-DnAw@mail.gmail.com>
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