A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/selectors_api/querySelectorAll below:

querySelectorAll · WebPlatform Docs

querySelectorAll Summary

Returns a list of elements that match a provided selector.

Method of dom/Elementdom/Element

Syntax
var elementList = element.querySelectorAll();
Parameters selector
Data-type
String

A selector or multiple selectors (separated by commas).

Return Value

Returns an object of type DOM NodeDOM Node

A collection of DOM element nodes. The collection may be empty.

Notes

This method differs from the querySelector method by returning a collection of DOM element nodes that match the selector string, rather than only the first element found. Calling this method with an unknown selector (due to the browser not implementing it, or due to typo and such) may throw an exception.

Related specifications
Selectors API Level 1
Proposed Recommendation
See also Related articles Selectors Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4