⬅︎ Back to createElement('a') with a javascript href
try new.innerHTML = 'link_text' to get the text in there
Apparently it works but because we cannot set 'Text' property/attribute of tag we cannot see the generated hyperlinks. That would be great if someone can let me know how to set it.
Comment
try new.innerHTML = 'link_text' to get the text in there
Parent comment
Apparently it works but because we cannot set 'Text' property/attribute of tag we cannot see the generated hyperlinks. That would be great if someone can let me know how to set it.