[jQuery] Re: selecting class under a parent class

2009-04-23 Thread jseg
That was too easy. Thanks a lot!! On Apr 23, 1:40 pm, MorningZ wrote: > Should do the trick since "details" is the next object from the > clicked span > > $().ready(function(){ >    $('.trigger").click(function() { >         $(this).next().slideToggle(); >    }) > > }) > > On Apr 23, 12:57 pm,

[jQuery] Re: selecting class under a parent class

2009-04-23 Thread MorningZ
Should do the trick since "details" is the next object from the clicked span $().ready(function(){ $('.trigger").click(function() { $(this).next().slideToggle(); }) }) On Apr 23, 12:57 pm, jseg wrote: > Need help selecting the class "details" under a parent class "two" > when clas