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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -