Chapter 11

jQuery

What You Will Learn in This Chapter:

  • What jQuery is
  • What NuGet is and how to use it
  • How to use jQuery to enhance your pages, including adding rich visual effects and animations
  • How to leverage jQuery to enhance the ASP.NET validation framework

Wrox.com Code Downloads for this Chapter

You can find the wrox.com code downloads for this chapter on the Download Code tab at www.wrox.com/remtitle.cgi?isbn=1118311809. The code is in the Chapter 11 download.

In previous chapters you were introduced to JavaScript, the de facto language for client-side scripting and interacting with elements in your web pages at the client. Though the examples shown were relatively straightforward, JavaScript can do much more and is quite a powerful programming language. But powerful as it may be, it has a few shortcomings. One of the problems with JavaScript is that not all browsers interpret it the same way. A lot of the JavaScript code you'll write will work in all major browsers, but subtle differences in code and behavior exist that make it difficult to write code that behaves exactly the same in all major browsers. Also, JavaScript lacks some useful features that would come in handy in your day-to-day JavaScript coding. For example, it has built-in methods to find a specific element on a page (using getElementById as you saw in Chapters 9 and 10) and to find all elements of a specific HTML tag (using getElementsByTagName), but it lacks features like getElementsByClassName to get ...

Get Beginning ASP.NET 4.5: in C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.