jQuery, get table cell at specific index

Posted by Jarek Waliszko on Stack Overflow See other posts from Stack Overflow or by Jarek Waliszko
Published on 2010-06-16T10:45:31Z Indexed on 2010/06/16 10:52 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

Hello,

I know that I can get first or last table cell (ex for last row) using jquery expression like below:

first cell: $('#table tr:last td:first') or last cell: $('#table tr:last td:last')

Can I get cell at specific index, for example index 2, using similliar expression:

ex: $('#table tr:last td:[2]')...

Regards.

© Stack Overflow or respective owner

Related posts about java

Related posts about jQuery