Question How to copy text to clipboard ( CodeGuru Forums Scripting Client Side ) Updated: 2008-08-12 06:08:54 (5) |
|
How to copy text to clipboard
How do I copy text to the clipboard? It's got to be IE and Firefox compatible.
I also searched on this one, but found a script that only supports IE.
code?
|
|
| Answers: How to copy text to clipboard ( CodeGuru Forums Scripting Client Side ) |
|
How to copy text to clipboard
Yeah, i did, thanks, but I think there's an easier way to my problem really.
code?
|
|
How to copy text to clipboard
Did you not check out the link in my post? The author of that blog shows a JavaScript + Flash solution and even has a link to the SWF necessary.
|
|
How to copy text to clipboard
Well, I'll check out my photobucket because I just remembered they have some sort of "auto-copy" when you click the url of an image you want or IMG code.
EDIT: Looks like they got a flash object that does the work, eh... maybe I'll try something else, but thanks for the help.
code?
|
|
How to copy text to clipboard
There is no way of copying text to the clipboard in Firefox without using Flash or a plugin of some sort. Using JavaScript, you can create a Flash object with the parameters for what you want to copy. Then the Flash object will copy the text to the clipboard. You will need Flash Player installed on all machines that you want to utilize this code.
http://www.jeffothy.com/weblog/clipboard-copy
|
|
How to copy text to clipboard
Well, I've found an obscure FireFox work around. http://la.ma.la/misc/js/setclipboard.txt
Then you could just test which browser you're in, and run the appropriate script...
But I wouldn't be surprised if there was a simpler solution...
|
|
- Source: - Previous Question: CodeGuru Forums Scripting Client Side - Next Question: GameTrailers.com Forums Mario Kart Wii |
|
|