Hello, I would like to know how to put text into the clipboard like some popular sites are able to do. I saw a cross browser way to do it using flash, but it wont work with the current version? I have seen sites like www.photobucket.com and www.hulu.com have made copying to the clipboard automatic and cross browser. Please help. Thanks
A:
Well, since Firefox disables working with the clipboard in JS for security reasons, and you want cross browser support, it's not possible to get exactly what you want.
But really, sites like Photobucket don't do what you want and instead actually just select the entire textbox for you when you click it.
And a quick Google will help for finding how... here's one thing I found using the search terms javascript automatically select textbox
...
http://www.dynamicdrive.com/forums/archive/index.php/t-17992.html
a2h
2009-03-14 04:19:12
+1
A:
Take a look at this: http://ajaxian.com/archives/seeding-the-clipboard-in-flash10-with-zero-clipboard
epascarello
2009-03-14 04:58:18
Exactly what I was looking for. Thanks
Samuel
2009-03-14 18:43:46