How to create a HyperLink Button in javasript/CSS?
Deepak Kamboj
You can do something like this, var mydiv = document.getElementById("myDiv"); var aTag = document.createElement('a'); aTag.setAttribute('href',"linkhere.html"); aTag.innerHTML = "link text"; mydiv.appendChild(aTag);