Answers for "how to select all div with data attribute"

0

how to select all div with data attribute

/*Jquery*/
/*SM: the syntax is pretty straightforward*/
console.log($("[data-my-custom-attribute]"));
Posted by: Guest on June-02-2021

Code answers related to "how to select all div with data attribute"

Code answers related to "Javascript"

Browse Popular Code Answers by Language