• Yes super.

  • 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..

  • Hi,

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

    Thanks & regards,

  • @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.

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

  • 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.

  • 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?

  • @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.

  • Thanks Bertrand. I appreciate the feedback.

  • "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.

  • 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.

Comments have been disabled for this content.