Search code examples
c#jqueryasp.netsolution

best way to add jquery to an "empty" web project in visual studio?


Hey so when i start a new solution and pick "web application" visual studio goes ahead and by default creates a script folder with jquery-1.4.1.js, jquery-1.4.1.min.js, and jquery-1.4.1-vsdoc.js. But if I instead start a new solution and pick "empty web application" there are no folders which is to be expected obviously. I am just wondering what is the best way to add jquery into my new project, should i just copy and paste the scripts folder from a default web application?

thanks in advance!


Solution

  • Or let someone else's CDN do it for you....

    For a more detailed explanation why, see: http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/

    http://docs.jquery.com/Downloading_jQuery