Is there a way to document.write a clickable link?

Filler text Filler text Filler text Filler text Filler text

What is the context for the question?

Something like a link that once you press it it writes somewhere on the page? If so, just have some js function trigger when you click on said link. Here’s some documentation for how you might frame that: Document.write() - Web APIs | MDN

1 Like

Thank you! That’s exactly what I needed.