Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 115279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:59:38+00:00 2026-05-11T02:59:38+00:00

I have 2 references to jQuery in my master page which is currently configured

  • 0

I have 2 references to jQuery in my master page which is currently configured for production release:

<script type='text/javascript'  src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'> </script> <%--<script type='text/javascript' src='../Scripts/jquery-vsdoc.js'></script>--%> 

When I’m developing, I uncomment the vsdoc version so that I get intellisense in VS2008 and then switch it back before deploying it – except for the times that I forget. Is there a way to have intellisense in dev and use the Google CDN in prod that doesn’t require an edit to deploy? i.e. a conditional inclusion dependent on environment…

EDIT: If I specify this file: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js as my JavaScript file then VS2008 (with patch) will look for this file: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min-vsdoc.js (with -vsdoc just before the .js) to use for intellisense. The problem is that Google does not provide the second named file in that location.

Another acceptable answer would be the answer to this question: ‘How do I get Google to put a jquery.min-vsdoc.js file at http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/ ?’

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:59:39+00:00Added an answer on May 11, 2026 at 2:59 am

    The suggested workaround (since Google doesn’t host the documentation) is to reference the documentation script in a way that will never be included, for example

    <% if (false) { %>     <script type='text/javascript' src='../Scripts/jquery-vsdoc.js'></script> <% } %> 

    OR

    <asp:PlaceHolder runat='server' Visible='False'>     <script type='text/javascript' src='../Scripts/jquery-vsdoc.js'></script> </asp:PlaceHolder> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a master page that references jquery + jqueryui. Everything is fine. In
I am using a Master Page and added jQuery script references in the HEAD
on my master page, I have referenced jquery file. I am doing simple hover
i have the following references to jquery on my page: <link href=http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css rel=stylesheet type=text/css/>
I'm trying to add a script reference to jQuery in my master page so
i have a jquery form validation in the master page and it works fine
I have a PHP Script which has several text areas. What I would like
I have a page that references a couple of externally hosted javascript files -
In .Net/C# Application, I have data structures which have references to each other. When
I have this page that displays pictures in a div. I have jquery cycle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.