I want to make my code separate so I decided to divide each div to html files. Each HTML file has some jQuery click events. I have 2 files index.html and menu.html.
Problem is that I have to include the jQuery library in both files to make it work.
Is there any way that I can include library one time and have it work on both files? I tried to include the library in the index page only, but then the menu click doesn't work.
I included the menu.html file through an iframe.
<iframe src="left-menu.html"></iframe>