Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

queryselectorall data attribute

document.querySelectorAll("[data-foo='1']")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #queryselectorall #data #attribute
ADD COMMENT
Topic
Name
6+4 =