[jQuery] Best way to select a cell in a table?

2007-08-03 Thread Matt Penner
I have a table that represents a matrix with various columns and rows. I use AJAX/JSON to populate the various cells with data. Not every cell will contain an item of data and some may have more than one item. What's the best way to select a specific cell of the table? If I wanted the 2nd row

[jQuery] Best way to select a cell in a table?

2007-08-03 Thread Matt Penner
You're right GTG. I found this out quickly after my post. I'm using the following: $('tr:eq(2) td:eq(3)') which seems to get exactly the one cell I'm looking for. Just for sake of argument this is a very simple example. I use variables in my code and I have only one table on the page. If I