[jQuery] print out td in tr without unique ids

2008-11-05 Thread Jared_T
Here's what I am trying to do - I want to print out the text value of a particular td. The easy solution would be to give each td in each row a unique id (change code below so the first td to id="row1_col1"). However if there is a way to access the text in col1 of row1 with jquery without giving

[jQuery] accessing child element without unique id

2008-11-05 Thread Jared_T
I'm trying to access a td text value, as shown in the javascript below. The easiet way to solve this problem would be to give each td id value a unique identifier (i.e. td id="row1_col1") Is it possible to access the td element of a tr with a unique tr id tag without naming each td id uniquely?