Answers for "how to select a specific type of element with a specific data - id"

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 "how to select a specific type of element with a specific data - id"

Code answers related to "Javascript"

Browse Popular Code Answers by Language