In my web development project, I am facing an issue with including the jQuery file in a master page. The structure of my project is as follows:
- The master page is located in the root directory.
- The jQuery file is stored in a folder named "script".
- The specific .aspx page causing the problem is in the "admin" folder.
Currently, all links to stylesheets and scripts are handled in the master page. However, I have noticed that the jQuery functionality does not work on the .aspx page unless the jQuery file is explicitly loaded within that page.
I have tried using the following script tags:
<script src="~/Scripts/jquery-1.9.0.js" type="text/javascript"></script>
and
<script src="/Scripts/jquery-1.9.0.js" type="text/javascript"></script>