Currently facing an issue with jQuery. I created a drop-down menu and would like it to expand when the li tag within the menu is clicked.
Even though I am using the jQuery click function successfully, there seems to be a problem where the webpage refreshes automatically after the jQuery function runs, causing the drop-down menu to collapse again.