Answers for "queryselectorall data attribute"

0

queryselectorall data attribute

document.querySelectorAll("[data-foo='1']")
Posted by: Guest on August-14-2021
-1

queryselectorall data attribute

document.querySelectorAll("[data-foo]")
Posted by: Guest on August-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language