Visual Studio 2008 IntelliSense hints for jquery

Source: Internet
Author: User
Tags visual studio

Visual Studio 2008 provides good IntelliSense hints for JavaScript, and as the popular jquery and Microsoft will ship jquery to Visual Studio, Jquery.com publishes a visual The smart-sensing hint documentation for Studio 2008. You can download it in http://docs.jquery.com/Downloading_jQuery#Download_jQuery or get it directly from Http://code.jquery.com/jquery-1.2.6-vsdoc.js.

Add jquery js files and vsdoc.js files to the script references on the page. One thing to note is that because Vsdoc.js is an executable script, but this vsdoc file does not need render, so you need to use a server side if statement, so you can prevent the execution of JS files, but also to load the code.

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

Now you can take advantage of the Itellisense feature by adding the script block and typing the jquery code:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.