I am new to ASP.NET, though not to web programming (I used PHP until now). Working on my first ASP.NET project (actually, maintaining an existing one) I wanted to use jQuery. I had heard that it is so easy to use in VS2010 – just install it with Nuget and use it. So I installed it with Nuget and now I can’t figure out how to use it!
How to I actually get it to be available in my HTML? It seems to just be sitting there in a Scripts folder doing nothing!
I think if you are using Visual Studio 2010, the default application templates already contain jQuery, so there isn’t any need to use NuGet.
Just add a reference of the jQuery script to the page you need, and you are good to go:
For IntelliSense: Also add
jquery-1.4.1-vsdoc.js.