I know it probably a really easy question to answer but I trying to get Intellisense Jquery working on Visual Studios 2010 over the whole project. I can get it working in one document easy. I've tried placing
@if (false) { <script src="../../Scripts/jquery-1.7.2-vsdoc.js" type="text/javascript"> </script> }
in my layout page but again only works in this document. Does this mean i will have to copy this into every page?
Unless you use a dynamic generator for html files, yes you'll have to place it in the header of every page you need to add it to unfortunately. You should be changing you links too if you're going live.
@if (false) { <script src="/../../Scripts/jquery-1.7.2-vsdoc.js" type="text/javascript"> </script> }
I just added a "/" before your src, so that browsers can find your files easier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With