Developing with jQuery

The jQuery client-side framework simplifies the tasks of working with the DOM as described in the prior section. This includes providing easier access to elements and their attributes using the jQuery CSS-style selectors. It also makes working with these selected elements easier. For example, you can act on a group of selected items with a single line of code; no looping code is required. jQuery also makes creating event listeners easier. And it provides methods for calling the server asynchronously from the client (AJAX). Best of all, it makes the DOM code you write compliant with both new and older browsers—without the need to write fallback code.

It is important that you also understand the default JavaScript DOM selectors, ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.