YUI recommends YUI3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

This documentation is no longer maintained.

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

Copyright © 2013 Yahoo! Inc. All rights reserved.

Privacy Policy - Copyright Policy - Job Openings