DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to select data attribute in javascript
const link = document.querySelector('[data-link="1"]');
PREVIOUS
NEXT
Tagged:
#select
#data
#attribute
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit