i have a simple bit of jQuery which displays the row below the current one if selected.
What I want if for all the <td>
elements but one to fire this method.
Works on whole <tr>
row
$(document).ready(function(){
$("#report > tbody > tr.odd").click(function(){
$(this).next("#report tr").fadeToggle(600);
});
});
want to do something like (doesn't work)
$(document).ready(function(){
$("#report > tbody > tr.odd > td.selected").click(function(){
$(this).next("#report tr").fadeToggle(600);
});
});