CHAPTER 2

image

A First Look at jQuery

In the first chapter, you learned that jQuery is a JavaScript library, so whatever you can do using jQuery can also be done using plain JavaScript code. What’s the benefit of using jQuery? The biggest benefit is that it is easy to use and allows you to accomplish the same task in fewer lines of code. The official jQuery web site (http://jquery.com) rightly puts it: write less, do more. As you will see in the rest of this book, jQuery takes away the complexity of using JavaScript so that even seemingly hard to achieve tasks can be performed with ease.

This chapter is intended to give you a first peek inside the ...

Get Beginning jQuery 2 for ASP.NET Developers: Using jQuery 2 with ASP.NET Web Forms and ASP.NET MVC 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.