How to include javascript generated text into html link?
Posted
by Finne
on Stack Overflow
See other posts from Stack Overflow
or by Finne
Published on 2010-04-13T11:24:38Z
Indexed on
2010/04/13
11:33 UTC
Read the original article
Hit count: 257
JavaScript
|html
I have a javascript that displays a generated text into a div: document.getElementById('phrase').innerHTML = phrase; PHRASE_TEXT_GETS_SHOWN_HERE
Basically I'm trying to set up a link that will take the text and post it to twitter with a link: Clicky for tweety
How can I include the generated text in the link?
© Stack Overflow or respective owner