Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy HTML from a scrolling text box to Clipboard?? 1

Status
Not open for further replies.

humbleprogrammer

Programmer
Oct 30, 2002
315
US
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 believe this is what you seek. If you go direct to.... This will take you to a page with this and other form related scripts. Hope I have been of some help,
Micheal

Please take a moment to stop by for Form Repair and Design or check out my FrontPage Form tutorials at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top