YUI Library Home

YUI Library Examples: Selector Utility

Selector Utility: Examples

The Selector Utility provides convenient methods for retrieving, testing, and filtering DOM elements using CSS Selectors.

  • Using query: The query method retrieves an array of DOM elements that match the provided selector.
  • Using filter: The filter method filters a collection of nodes based on the provided selector.

Other YUI Examples That Make Use of the Selector Utility

Selector Utility:

Copyright © 2009 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings