Add reference to javascript file

You can add reference to another javascript file inside another javascript file for adding intellisense for other javascript files in Visual studio

You can do so  using the following syntax:

/// <reference path="AnotherJSFile.js" />

 and to Add Microsoft Ajax reference to javascript file:

/// <reference name="MicrosoftAjax.debug.js" />

And for JQuery there a simple way in Visual studio:

http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx

One thought on “Add reference to javascript file

  1. RE: Add reference to javascript file

    JQuery version 1.3.2 Visual Studio documentation is available for download For more info about using

Comments are closed.