Book description
Learn how to master the art of effectively using jQuery’s selectors
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Create your own jQuery filters to retrieve elements using a mnemonic name chosen by you
- Learn how to improve performances by just tweaking selectors
- Combine multiple selectors to express complex criteria
- Filter a collection of elements using the myriad of filters available in jQuery
In Detail
jQuery's selectors is one of the most important concepts of the jQuery library. Usually, the first thing you do is to select one or more elements of a page in order to manipulate them. Therefore, to efficiently learn the usage of jQuery's selectors is one of the first steps to successfully build your website.
Instant jQuery Selectors is a practical guide that will teach you how to use jQuery's selectors efficiently in order to easily select theelements of your pages to operate upon with jQuery's methods. You will go through the most common problems that you could face while developing your project and will learn how to solve them with the help of focused examples that Instant jQuery Selectors has to offer.
Instant jQuery Selectors, starting from how to set up jQuery and how to choose the right version for your project, explains to you all the selectors available using a multitude of simple and practical recipes that will help you start using selectors in the right way. Reading the presented recipes you'll learn about the numerous selectors and filters of jQuery – almost 100 of them! You will see how to reuse collections, the methods to filter collections, and how to take advantage of the lesser known parameter of jQuery's constructor: context. Also, you'll discover the methods to traverse the DOM and the techniques to improve the performance of your website by just tweaking selectors.
Instant jQuery Selectors is the resource to learn everything you need to know about jQuery's selectors.
Table of contents
-
Instant jQuery Selectors
- Instant JQuery Selectors
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
-
1. Instant jQuery Selectors
- Setting up jQuery (Must know)
- The All selector (Must know)
- Selecting by ID (Must know)
- Selecting by class (Must know)
- Selecting by tag (Must know)
- Multiple selectors at once (Should know)
- Selecting by hierarchy (Must know)
- Selecting by attributes (Should know)
- Selecting by position using filters (Should know)
- Selecting from elements using filters (Should know)
- Child filters (Should know)
- Other filters (Become an expert)
- Custom filters (Become an expert)
- Context matters (Should know)
- Improving performance re-using selected elements (Become an expert)
- Methods to filter collections (Become an expert)
- Traversing DOM SubTrees (Become an expert)
- How to have efficient selectors (Become an expert)
Product information
- Title: Instant JQuery Selectors
- Author(s):
- Release date: August 2013
- Publisher(s): Packt Publishing
- ISBN: 9781783282210
You might also like
book
Beginning JavaScript® and CSS Development with jQuery
jQuery is a JavaScript library that helps web developers create JavaScript applications that work well in …
book
Pro jQuery
jQuery is one of the most popular and powerful JavaScript libraries available today. It's widely used …
book
jQuery: Visual QuickStart Guide
jQuery is a popular JavaScript library that simplifies event handling, animating, and Ajax interactions for rapid …
book
Beyond jQuery
Learn about the most important concepts surrounding web development and demystify jQuery. This book gives you …