Reputation: 15650
how to find the html or controls of next td using jquery in an html table?
Upvotes: 0
Views: 151
Reputation: 13691
I think you need to read up a little about the jQuery selectors.
$(function(){
alert( $("#idofthetable td").html() );
});
http://api.jquery.com/category/selectors/
Upvotes: 0
Reputation: 6052
$('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:
http://docs.jquery.com/Tutorials
Upvotes: 1