I have successfully created a responsive menu that is working well.
However, I am facing an issue. I want only one menu to be open at a time.
When a submenu is opened, the other menus should be hidden. How can I achieve this?
Below is my Script code
$('.moremain').click(function(){
$(this).next('.hrmenu ul ul').slideToggle();
$(this).toggleClass("active");
});
Check out My Menu