views:

322

answers:

2

Hello folks, i have searched similar posts on google & stackoverflow to no use. Basically, what i have is a new aspx page. I have the following files referenced in the head section.

jquery-ui-1.7.2.custom.css
jquery-1.3.2.min.js
jquery-ui-1.7.2.custom.min.js

Theme:smoothness
UI Version: 1.7.2 for jQuery 1.3.2

I have nothing else going on in the page but still get the error 'error updating JScript Intellisense. I am using VS2008 SP1. Any ideas?

TIA

ps: VS shows intellisense if i refer to 1.4.1.js & 1.4.1-vsdoc.js

A: 

There's a hotfix for this if you include the -vsdoc.js file as well for 1.3.2

You can find the hotfix here and the -vsdoc.js for 1.3.2 here

Visual studio doesn't like the 1.3.2 source, but if you include that intellisense file as jquery-1.3.2.min-vsdoc.js in your case, it'll ignore the actual jquery-1.3.2.min.js file it chokes on.

Once you do this, hit Ctrl + Shift + J to update intellisense.

Nick Craver
what's the order for including the vsdoc.js file? before or after core 1.3.2 js file?
SoftwareGeek
@BhejaFry - You don't actually reference it, just include it in the project, with the hotfix VS looks for a file that matches with `-vsdoc.js` in the same directory it and will use that instead for intellisense if it finds it.
Nick Craver
r u suggesting to rename 'jquery-1.3.2-vsdoc2.js' to 'jquery-1.3.2.min-vsdoc.js'? hotfix has been applied to VS sometime back but still get the error.
SoftwareGeek
@BhejaFry - Yep, rename it to the same name as your file with `-vsdoc` in all cases, so `jquery-1.3.2.min-vsdoc.js` in your case.
Nick Craver
SoftwareGeek
@BhejaFry I had your same setup except not using minified for development, try using the non-minified version of jQuery?
Nick Craver
SoftwareGeek
@BhejaFry - What's the full error you're getting?
Nick Craver
Warning 1 Error updating JScript IntelliSense: Object doesn't support this property or method @ 2139:1
SoftwareGeek
@Nick - here's more info. 'div.childNodes' is null or not an object
SoftwareGeek
@BhejaFry - You have the hotfix applied, and `jquery-1.3.2-vsdoc.js` and `jquery-1.3.2.js` in the same directory? Also make sure you're referencing `jquery-1.3.2.js` in your pages.
Nick Craver
SoftwareGeek
+1  A: 

Phew! Issue Resolved. Finally found a solution here.
Step 6 did it for me.

SoftwareGeek