Deepak  Kamboj
How to create a HyperLink Button in javasript/CSS?
By Deepak Kamboj in JavaScript on May 02 2013
  • Jaganathan Bantheswaran
    Nov, 2014 12

    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);

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS