Answers for "how to select element by data attribute"

2

jquery select element with data

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

find element with data attribute jquery

$("ul").find(`[data-slide='${current}']`)
Posted by: Guest on October-20-2020

Code answers related to "how to select element by data attribute"

Code answers related to "Javascript"

Browse Popular Code Answers by Language