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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web page access to clipboard

Status
Not open for further replies.

modalman

Programmer
Feb 14, 2001
156
GB
Hi, does anyone know how I can get access to the clipboard via a web page. I have a button that the user clicks on and the clipboard text will then be pasted into a textarea. I presume some sort of permissions may have to be set. Many thanks in advance.

ASCII silly question, get a silly ANSI
 
I think there's a function (at least in MSIE) called clipboardData(). So something like pasteHTML(clipboardData()).

I'm freezing here, wrapped in 4 layers and I'm still like an icicle so please forgive me for abandoning the PC and looking it up on MSDN.

Hope the keyword leads you to some spiffy tricks ;)

----------
I'm willing to trade custom scripts for... [see profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top