querySelectorAll
The method querySelectorAll() returns all Elements within the element that matches the specified selector, or group of selectors. If no matches are found, null is returned.
Querys
Symbol
Query
#
id
.
class
<blank>
tag
Example
elem.querySelectorAll("#id") // Returns ALL element with the ID of idelem.querySelectorAll(".id") // Returns ALL element with the className of idelem.querySelectorAll("label") // Returns ALL element that are a LABELLast updated
Was this helpful?