Tales from the Evil Empire

Bertrand Le Roy's blog


Bertrand Le Roy

BoudinFatal's Gamercard

Tales from the Evil Empire - Blogged

Blogs I read

My other stuff


VsDoc for jQuery 1.3.1 now available

John Resig tells us he just uploaded the VsDoc file for jQuery 1.3.1 to jquery.com. This enables IntelliSense for the latest available jQuery.

jQuery VsDoc file for 1.3.1 available from jquery.com

Download the file from the jQuery downloads page:

More info on what this is:


florim said:

Yes super.

# February 6, 2009 8:14 PM

jeffreyq21 said:

Hi I had a problem when i attach jQuery 1.3.1-vsdoc.js in scriptmanager. I have a page which when it will load it uses jquery and when the page loads a  javascript error was thrown says "jQuery.support.opacity is null or not an object". when I remove the jQuery 1.3.1-vsdoc.js in my scriptmanager it works fine..

# February 7, 2009 2:36 AM

MisterFantastic said:


Thats really valuable news. Thanks for the sharin the info.

Thanks & regards,


# February 7, 2009 9:42 AM

Bertrand Le Roy said:

@Jeffrey: the solution is actually quite simple... :) You should never, ever use the vsdoc version at runtime. Always reference the regular jQuery file, the one you want to use at runtime. Visual Studio, if it has the JS IntelliSense hotfix, will just find the vsdoc version at design time.

# February 9, 2009 1:03 AM

SonuKapoor said:

Awesome! I love jQuery. I have been using it to implement some new features in the AjaxDataControls V2.

# February 11, 2009 10:08 AM

Alek Davis said:

Bertrand Le Roy said: "You should never, ever use the vsdoc version at runtime." May I ask why? I assume that the vsdoc version of the file is functionally the same as the original file (with the exception of the dummy vsdoc files generated for comments only). Thanks.

# February 17, 2009 6:47 PM

Bertrand Le Roy said:

Because it's much larger, because its code structure is slightly different (in principle it's equivalent but we do no testing to ensure it nor any claim to support it) and because you don't need to. With the VS patch, you can just reference the minimized version and VS will know where to find the vsdoc version to provide IntelliSense.

So rather than asking why you couldn't use the vsdoc file at runtime, the right question is why would you?

# February 17, 2009 7:30 PM

Bertrand Le Roy said:

@Alek: feel free to use that file if you want. I don't know what these guys are doing to generate the file or how well it works. The vsdoc file on the other hand is produced by the same team that works on JavaScript IntelliSense in Visual Studio and is the best you can get for 2008 SP1.

# February 17, 2009 11:37 PM

Alek Davis said:

Thanks Bertrand. I appreciate the feedback.

# February 18, 2009 3:38 PM

Joe Chung said:

"Would anyone -- meaning a human -- really notice a difference between the times to load the vsdoc version and another version?"

A human would notice the bandwidth bills from using a 190K JavaScript file vs. using a 55K one.  People viewing your site on 56K modems would also notice.

The 1.3.2 vsdoc is out, by the way.

# February 25, 2009 8:28 AM

ZK@Web Marketing Blog said:

jQuery.support has been commented out (didn't have time to investigate the reason) -- so any code that references jQuery.support must also in turn be commented.  There are maybe 10 spots in the vsdoc file that code needs to be commented out.  Once you do that, you're golden.

# May 17, 2009 3:27 PM