I have the following jquery that adds onclick to each image in a table
$("#listtable tr td img").each( function(intIndex) { $(this).click(function() { $(this).load("/Admin/ChangeIdeaStatus/" + $(this).attr('rel')); }); } );
This works fine, however I would like to change it so that only the image in the first TD of each row of the table receives the onclick event.
I tried the following but it does not work
$("#listtable tr td:first img").each(
Rippo source share