Hi everyone,
Use below code for hiding and showing elements :
Use below code for hiding and showing elements :
$('.menu-ul1').hide();
$('.menu-li1').toggle(function(){
$(this).next('.menu-ul1').show();
},function(){
$(this).next('.menu-ul1').hide();
});
No comments:
Post a Comment