I am having trouble setting the path to jquery in an mvc app. In my master page I have the script declared and jquery works at the root of my app. When I navigate to a content view page in my app jquery does not get loaded properly. Do I need to set the path in the content page as well or declare the path differently?
<script src='Views/Scripts/jquery-1.2.6.min.js' type='text/javascript'></script>
The src on the masterpage is relative, which won’t work on child pages. It should work if you declare the path as an absolute path (e.g. ‘/Views/Scripts/jquery-1.2.6.min.js’);