humbleprogrammer
Programmer
Hi,
I have a form that takes user input and generates a web page ad based on that input. For example: They choose color of backgroud, font size font color, etc. and when they hit submit the web ad displays. I also have the HTML output displayed in a scrolling textbox. I want the user to be able to press a copy button which will copy the HTML code in the textbox to the clipboard so they can easily paste it into their page. Can this be done with JavaScript or can someone point me to an article.
Thanks in advance!
I have a form that takes user input and generates a web page ad based on that input. For example: They choose color of backgroud, font size font color, etc. and when they hit submit the web ad displays. I also have the HTML output displayed in a scrolling textbox. I want the user to be able to press a copy button which will copy the HTML code in the textbox to the clipboard so they can easily paste it into their page. Can this be done with JavaScript or can someone point me to an article.
Thanks in advance!