Skip to Main Content
Learning jQuery: A Hands-on Guide to Building Rich Interactive Web Front Ends
book

Learning jQuery: A Hands-on Guide to Building Rich Interactive Web Front Ends

by Ralph Steyer
April 2013
Beginner content levelBeginner
512 pages
13h 57m
English
Addison-Wesley Professional
Content preview from Learning jQuery: A Hands-on Guide to Building Rich Interactive Web Front Ends

5. Selectors and Filters

This rather extensive chapter covers how you can use jQuery to select specific components of a web page. This is the basis of all dynamic processes in a web page, but also of the targeted formatting of individual web page areas. The classic approach is selecting via names, object fields, or native Document Object Model (DOM) methods because every web page is represented as DOM in the browser.1 Object fields are—as the name indicates—available via an array notation (and limited to it) and only work for a few elements.2 Access via the name from within JavaScript is also only possible to a limited extent.3 And with regard to conceivable options, the native DOM methods only permit very limited selection options (for example, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

jQuery: Visual QuickStart Guide

jQuery: Visual QuickStart Guide

Steven Holzner
Beyond jQuery

Beyond jQuery

Ray Nicholus

Publisher Resources

ISBN: 9780132931588Purchase book