Reputation: 7939
Anyway to include both in a function? I imagined this would work, but it didn't
var slide = $('.z:visible'),
next = slide.next();
$(next, '.h').fadeOut(400);
//as opposed to next.fadeOut(400); $('.h').fadeOut(400);
Upvotes: 0
Views: 502