Answers for "how to change attribute link in javascript"

0

how to change attribute link in javascript

function changeLink(){
    document.getElementById("mylink").href = "http://facebook.com";
    document.getElementById("mylink").innerHTML = "facebook";
    }
Posted by: Guest on August-30-2021

Code answers related to "how to change attribute link in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language