DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js getattribute
const link = document.querySelector('a'); console.log(link.getAttribute('href'));
PREVIOUS
NEXT
Tagged:
#js
#getattribute
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit