Javascript: change div or span content

document.getElementById("imageid").src="../template/save.png";
document.getElementById("myAnchor").innerHTML = "Shohag Bhuiyan";
document.getElementById("myAnchor").href = "http://www.shohagbhuiyan.com";
document.getElementById("myAnchor").target = "_blank";

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.