cssQuery
From Wikipedia, the free encyclopedia
| This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions may be available. (February 2009) |
|
|
The topic of this article may not meet Wikipedia's general notability guideline. Please help to establish notability by adding reliable, secondary sources about the topic. If notability cannot be established, the article is likely to be merged, redirected, or deleted. (November 2009) |
| Developer(s) | Dean Edwards |
|---|---|
| Stable release | 2.0.2 / September 10, 2005 |
| Type | JavaScript library |
| License | GNU Lesser General Public License v2.1 |
| Website | dean.edwards.name |
cssQuery() is a cross-browser JavaScript function that enables querying of a DOM document using CSS selectors. All CSS1 and CSS2 selectors are allowed plus quite a few CSS3 selectors.
[edit] Usage
elements = cssQuery(selector [, from]);
where selector (required) is a valid CSS selector and from (optional) is a document, element or array of elements which is filtered by selector.
The function returns a JavaScript array of elements. If there is no match, an empty array is returned.
[edit] Resources
- Official Resources
| This computer programming-related article is a stub. You can help Wikipedia by expanding it. |