Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change link href with javascript

document.getElementById("foo").href="newPage.php";
 
PREVIOUS NEXT
Tagged: #change #link #href #javascript
ADD COMMENT
Topic
Name
1+9 =