#REDIRECT [[jQuery]]
{{Orphan|date=February 2009}}
{{Infobox_Software
| name = cssQuery Javascript Function
| developer = [[Dean Edwards (developer)|Dean Edwards]]
| latest_release_version = 2.0.2
| latest_release_date = [[September 10]], [[2005]]
| genre = [[JavaScript library]]
| license = [[GNU Lesser General Public License]] v2.1
| website = [http://dean.edwards.name/my/cssQuery/ dean.edwards.name]
}}
{{lowercase|title=cssQuery}}
'''cssQuery()''' is a powerful cross-browser [[JavaScript]] [[Function (computer science)|function]] that enables querying of a DOM document using [[CSS]] selectors. All [[CSS1]] and [[CSS2]] selectors are allowed plus quite a few [[CSS3]] selectors.
== Usage ==
'''<code>elements = cssQuery(selector [, from]);</code>'''
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.
== Resources ==
* Official Resources
** [http://dean.edwards.name/my/cssQuery/ Official website]
** [http://dean.edwards.name/my/cssQuery/test.html Test page]
{{compu-prog-stub}}
[[Category:JavaScript_libraries]]
[[es:CssQuery]]
|