Answers for "html data-* attribute get value"

1

get element with data attribute javascript

const elements = document.querySelectorAll("li[data-id='2']");
Posted by: Guest on January-25-2022

Code answers related to "html data-* attribute get value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language