Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript slideDown slideUp jQuery Re: slideDown slideUp jQuery

#138739
Kuzyo
Participant

I made it with

    var isVisible = $(this).next().is(':visible');

if(isVisible){
$(this).next().hide();
}else {
$(this).next().show();
}

but your variant is more better ))) thanks@TheDoc