Error updating JScript IntelliSense: Object doesn’t support this property or method @ 2139:1
Today I am trying out JQuery on Visual Studio 2008 for the first time. I go to the website at www.jquery.com and downloaded the library as well as the document for Visual Studio.
So I imported the JQuery library into my VS project
But when I want to try to the intellisense, I notice it is not working!! It should be able to recognize the famous $!!
Then I realize at the bottom of the VS IDE, there is an error message -
Warning 1 Error updating JScript IntelliSense: D:\workspace\Projects\JQuerySample\JQuerySample\scripts\jquery-1.3.2.js: Object doesn’t support this property or method @ 2139:1 D:\workspace\Projects\JQuerySample\JQuerySample\Default.aspx 1 1 JQuerySample
But this is not a bug inside the JQuery library itself. So I went back to scottgu’s blog post about on JQuery I notice something very difference with his library (besides the fact that he is using version 1.2.6).

I notice mine has got an extra number 2 at the end of vsdoc there. So I go back to the Google code side where I downloaded the file and I found out en they release a new vsdoc file to replace the exisiting deplecated one, they ‘tangan gatal’ change the name to jquery-1.3.2-vsdoc2.js. VS Interllisense only programmed to regconized [Javascript file name]-vsdoc.js without the 2 at the back there.
That vsdoc2 is the cause of the problem here! Just rename it to jquery-1.3.2-vsdoc.js and you got JQuery Intellisense working!
Thanks! I had this same problem, and your post did the trick! =-)
You are so attentive to recognize this “bug”.
Thanks a lot for saving my own time for eliminating this problem.
Thanks, Sir
Your trick works well……Thanks
Hi Thaxn for the solution. It works fine. Thank u very much.
Hi Thanx for the solution. It works fine. Thank u very much.
it doesn’t work after I rename files
jquery-1.3.2-vsdoc.js
jquery-1.3.2.js
Error Message:
Error updating JScript IntelliSense: E:\Lesson2\Lab1\CSharp\WorkingWithSiteNavigation\Scripts\jquery-1.3.2.js: Object doesn’t support this property or method @ 2139:1
Thank you very much for sharing this information!
Thank you! Suggested renaming of the file solved the problem.
Thanks! problem solved.
Thank you very much, it was really helpful!!!!
Thanks a lot for saving our time!
==For those who couldn’t make it work after the rename: make sure you’ve read ScottGu’s blog and applied the patch for VS90sp1
Thanks! I had this same error and the “2″ suffix removal worked perfectly. You da man!
I get the same error, but removing the 2 doesn’t fix it. I get it with “jquery-1.3.2.min.js” or “jquery-1.4.1.min.js”. Very frustrating.