Home  >  Article  >  Web Front-end  >  How to use jQuery smart sensing in VS2008_jquery

How to use jQuery smart sensing in VS2008_jquery

WBOY
WBOYOriginal
2016-05-16 18:13:081106browse

Step one: Install VS 2008 SP1

Download address:

http://msdn.microsoft.com/en-us/vstudio/cc533448.aspx

Step 2: Install VS 2008 SP1 Patch KB958502

Download address:

http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=KB958502&DownloadId=3632

Step 3: Download jQuery-vsdoc.jsFile

Download address:

http://docs.jquery.com/Downloading_jQuery (corresponding version can be downloaded)

http://jqueryjs.googlecode.com/files/jquery-1.3.2.js(original version 118K)

http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js(compressed version 56K)

http://jqueryjs.googlecode.com/files/jquery-1.3.2-vsdoc2.js(smart prompt file)

Save jquery-1.3.2-vsdoc2.js into the same directory as the jquery-1.3.2.js file in your project (and make sure its naming prefix matches the jquery file name):

Reference jquery files in the page

<div>
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">script src</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">Scripts/jquery-1.3.2.min.js</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000"> type</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">text/javascript</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">></</SPAN><SPAN style="COLOR: #000000">script</SPAN><SPAN style="COLOR: #000000">></span>
</div>

If it is a separate file

When you write jquery code on the page, there will be smart sensing

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn