how to find the html or controls of next td usi开发者_如何学运维ng jquery in an html table?
$('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://api.jquery.com/next/
http://docs.jquery.com/Tutorials
I think you need to read up a little about the jQuery selectors.
$(function(){
alert( $("#idofthetable td").html() );
});
http://api.jquery.com/category/selectors/
精彩评论