How to use jQuery intellisense in an external javascript file in Visual Studio 2008?
Most of the times, we will segregate our javascript code in a separate file and link it through script tag in aspx page. By default, jQuery intellisense will not work in an external javascript file.
To use the jQuery intellisense in an external javascript file, use the following configuration line on top of your javascript file.
/// <reference path="jquery-1.2.6.js"/>
The Path should take the original path where the jQuery file is placed in your project.
Read How to enable jQuery intellisense in Visual Studio 2008?
|