⬅︎ Back to createElement('a') with a javascript href
tn = document.createTextNode('link text');newlink.appendChild(tn);That will create the clickable text.
thank you very much, but i have a question, what about de text you are going to click?
Comment
tn = document.createTextNode('link text');
newlink.appendChild(tn);
That will create the clickable text.
Parent comment
thank you very much, but i have a question, what about de text you are going to click?