#REDIRECT [[jQuery]]
{{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]] [[Function]] |
license = [[Creative Commons Licence]]|
website = [http://dean.edwards.name/my/cssQuery/ dean.edwards.name] |
}}
{{lowercase|title=cssQuery}}
'''cssQuery()''' is a powerful 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.
==Usage==
'''Syntax'''
'''<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]]
|