Donate

Using JQuery Intellisense In An External JavaScript File Of ASP.NET Web Forms

Create an aspx page and an external javascript file. Call the javascript external file in your aspx page.
1:  <script src="js/jquery-1.4.1.js" type="text/javascript">  
2:  </script>  
3:  <script src="js/Sample.js" type="text/javascript">  
4:  </script>  
In your external .js file, add the following code on top of the js file page.
 ///<reference path="jquery-1.4.1.js"/>  
 function dothis()  
 {  
     //your code here  
 }  

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.

Invalid nested tag div found, expected closing tag input