Improve your contact center performance. See how you can make a difference.
Watch Now
Engage and build your ICT audience with CIOL online advertising.
Know more
Go to the Download section and get the 'Minified' and the 'Documentation: Visual Studio' files. Rename them to jquery.js and jquery-vsdoc.js and put both files into your ASP.NET application folder by dragging and dropping them into the Solution Explorer in VWD.
To use the JQuery library in your ASP.NET page, simply use a <script> element to point to the jquery.js file. Visual Studio/VWD will automatically look for a file named jquery-vsdoc.js in the same location to provide IntelliSense for any code you write using JQuery. This not only gives help for functions but also for parameters, data types and more.
The best part of JQuery is that you can daisy-chain selectors and commands together continuously in one line so that the output of one set goes as the input of another set. For instance, take a look at the JQuery code below:
$(document).ready(function() { $("#nav").click(function() { $("#test").fadeOut("slow").addClass("faded"); }); });
This code contains nested and chained commands for different selectors. The great part of the integration with Visual Studio is that IntelliSense and documentation works across any level of nesting or chaining.
All in all, using JQuery with Visual Studio IntelliSense for ASP.NET has not only become easier but is also a great step forward in using an open JavaScript library for enhancing your Web pages.
<< PREVIOUS