Answers for "how to select a div base of data attr"

2

jquery select element with data

$('[data-attribute="value"]');
Posted by: Guest on April-01-2020
1

select by data attribute

$('*[data-id="your_id"]');
Posted by: Guest on September-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language