CHAPTER 3

image

ASP.NET Controls and jQuery Selectors

To perform operations such as event handling, changing CSS properties, or getting or setting the element content of any DOM element, you first need to get that element. In situations where only one element is involved, things are quite easy because JavaScript and the HTML DOM allow you to access elements by their IDs. However, life is not always that simple. Often you need to select elements from a web page based on some complex criteria.

That is where jQuery selectors come into the picture. jQuery selectors are the jQuery constructs that allow you to select DOM elements based on variety of criteria. ...

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.