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.
In your external .js file, add the following code on top of the js file 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>
///<reference path="jquery-1.4.1.js"/> function dothis() { //your code here }
Comments
Post a Comment