I have the table ID as well as the row ID.
On Mar 25, 6:32 pm, Josh Powell <seas...@gmail.com> wrote: > What unique identifier do these cells have? > > Do the cells have id's? $('#theid'). Do the rows have ids? $('#theid> > td').get(1) will get you the second cell of the row with an id of > > 'theid', does the table have an id? $('#tableid > tbody > tr' > td) > will return all of the tds in that table inside of trs that are inside > of the tbody. Then, by saying value I think that you mean the text > inside of that cell since cells do not have a 'value' attribute, and > that would be obtained using > > $('#tableid > tbody > tr' > td).each( > function () { > alert($(this).text()); // to get just the text > alert($(this).html()); // to get the full html inside instead > } > ); > > Find more on selectors at:http://docs.jquery.com/Selectors > > and more on the .text() & .html() at:http://docs.jquery.com/Manipulation > > and more on the .get(1) at:http://docs.jquery.com/Core > > Cheers, > Josh Powell > > On Mar 25, 1:27 pm, "webspee...@gmail.com" <webspee...@gmail.com> > wrote: > > > Hey all. > > > I have a table and I need to access the value of a particular cell in > > the selected row. I've seen this type of code before but can't > > remember what to search on. > > > Any clues?