Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get href attribute javascript

document.getElementById("link")[0].getAttribute("href");
 
PREVIOUS NEXT
Tagged: #href #attribute #javascript
ADD COMMENT
Topic
Name
7+9 =