Because i'm using the slide effect on multiple places so i would like to create a function for it. I just seem to be unable to get the object passed into the function the way it 'should'...
Thanks for your reply though! On Jan 6, 2:54 pm, Šime Vidas <sime.vi...@gmail.com> wrote: > why not just.... > > $("a.less").live('click', function() { > $(this).closest(".project").find(".morebody").slideUp > ("normal"); > return false; > }); > > ??