Error updating IntelliSense JScript using Google Apis hosted in jQuery

I reference jQuery in my application through: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js .

This leads to an error in vs .net: "JScript IntelliSense update failed: c: ... jquery.min-fds90 [1] .. js: Object does not support this property or @ 18: 9345 method.

Instead of putting a local copy of the javascript file in my dev block, is there a way to fix this?

Btw, this is happening with VS.Net 2008 SP1 with this fix: http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx

+4
source share
4 answers

I finally found the answer to this question:

Basically, add the following to your jQuery:

<% /* %><script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.3.2-vsdoc.js"></script><% */ %> 

Via: http://biasecurities.com/blog/2009/get-jquery-intellisense-in-vs-net-when-using-a-cdn/

+5
source

I think the problem is that the vsdoc file on the jQuery site has a somewhat incorrect file name, which confuses VS.

Look here:
http://patrickyong.net/2009/05/08/error-updating-jscript-intellisense-object-doesnt-support-this-property-or-method-21391/

+1
source

I also run into this problem.
This problem only occurs when using the mini version of jQuery.

You can use the uncompressed version in development.

0
source

I found that Rick Strahl wrote a very good start for jQuery, including his tuning notes for intellesense and visual studio

You can find it here.

0
source

All Articles