jquery click event on td row not firing.
Posted
by TheAlbear
on Stack Overflow
See other posts from Stack Overflow
or by TheAlbear
Published on 2010-03-19T14:07:13Z
Indexed on
2010/03/19
14:11 UTC
Read the original article
Hit count: 896
i have a simple b it of jquert 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 somthing like (doesnt work)
$(document).ready(function(){
$("#report > tbody > tr.odd > td.selected").click(function(){
$(this).next("#report tr").fadeToggle(600);
});
});
© Stack Overflow or respective owner