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?
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?
Last edited by bluewalrus; 06-14-2010 at 05:48 PM.
Corrections to my coding/thoughts welcome.
i was looking into the same thing, and found this.
it has a popup message too but i supose if u dont want it, u could remove the popup
bluewalrus (06-14-2010)
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.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Well this is just for web site admin and to speed the process up so I think it should be fine for that.
Corrections to my coding/thoughts welcome.
the link above is a cross browser script, works on ie and firefox and maybe more browsers
Bookmarks