javascript - Get the children table data of $(this), which is the table row -
so have function
$("#names tbody tr").click(#something here);
and wondering. since i'm "inside" tr of table, here how go through each individual td using object?
you do:
$("#names tbody tr").click(function(){ $(this).children('td').each(function(index, element){ //here td }) });
Comments
Post a Comment