jquery: ordinal of td inside tr

Posted by deostroll on Stack Overflow See other posts from Stack Overflow or by deostroll
Published on 2010-06-09T10:58:06Z Indexed on 2010/06/09 11:02 UTC
Read the original article Hit count: 192

Filed under:
|
|

I have a row in an html-table that contains only images. (this happens to be the first row too). Those images are wired for a click event too. While trying to handle the click event I can find out its parent (i.e. <td> element). But I want to know its relative ordinal in the table row (<tr>).

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html-table