View Full Version : Resolved Text Area Content to Clip Board
06-14-2010, 03:50 PM
Does anyone have or know where I can get code to copy the content in a text area (or a div?) to a the clients clipboard when the click a button or link to copy it?
06-14-2010, 04:10 PM
it has a popup message too but i supose if u dont want it, u could remove the popup
06-14-2010, 07:53 PM
From what I know, this will be very unreliable: it's possible to automate "select all", but "copy" will only work in a very limited set of browsers.
So test some and at least you'll be able to get select all, and maybe copy.
06-14-2010, 11:22 PM
Well this is just for web site admin and to speed the process up so I think it should be fine for that.
06-15-2010, 03:05 AM
the link above is a cross browser script, works on ie and firefox and maybe more browsers
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.