Expand a row when clicking only on an image
Hi,
I'm testing the Jexpand plugin (expand table rows) :
http://www.jankoatwarpspeed.com/examples/expandable-rows/
and i would like to know what i have to modify to expand/collpase rows only when i click on the left arrows picture (not by clicking everywhere on the row) please ?
$("#report tr:odd").addClass("master");
$("#report tr:not(.master)").hide();
$("#report tr:first-child").show();
$("#report tr.master").click(function(){
$(this).next("tr").toggle();
$(this).find(".arrow").toggleClass("up");
});
Cédric