In ASP.NET MVC’S JQuery intelligence I am getting methods such as “constructor“, “toString“, etc.
What do I have to do so that I get JQuery methods such as “css” and “click”?
alt text http://www.deviantsart.com/upload/tr7rto.png
If I just rightclick on a plain .htm file and open up Visual Studio, it works out-of-the-box:
You need a reference to the jquery vsdoc js file – something like this:
ScottGu made a post about this in relation to VS 2008 a while ago which is still a useful read for VS2010
http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx