how to find the html or controls of next td using jquery in an html table?
+1
A:
$('table#yourtableid td')
will get you all TDs in specified Table
$('table#yourtableid td#specific-td').next()
will get you the next element after specified TD
Have a look through the jQuery docs and tutorials:
TimS
2010-09-17 12:30:32
A:
I think you need to read up a little about the jQuery selectors.
$(function(){
alert( $("#idofthetable td").html() );
});
Fabian
2010-09-17 12:30:45