Home › Forums › JavaScript › slideDown slideUp jQuery › Re: slideDown slideUp jQuery
June 14, 2013 at 3:34 pm
#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