Forum Moderators: open
Does anyone know how to do this? I have asked in two other Web master forums and nobody seems to know.
[edited by: whoisgregg at 9:18 pm (utc) on April 20, 2009]
[edit reason] No site specifics please, TOS #13 [/edit]
However, if your task is only to copy text and place it in a new window, you could do it without copying to the clipboard. Something like
var targ = document.getElementByID('some-textfield').value;
Then you open the new window and either document.write() or populate a form field value in the new window with the value of targ.
I think this is only allowed for IE (security policy,) Google for "clipboard javascript" and you'll find lots of mini tutorials.
Thanks, Rocknbil.
I searched all over the Web before I asked for help. I am aware that the copy-to-clipboard function mainly works for IE. However, the way in which it is done at <snip> seems to work just fine with Firefox and other browsers.
Have you any idea as to how it's done?
[edited by: whoisgregg at 9:22 pm (utc) on April 20, 2009]
[edit reason] No site specifics please, see TOS #13 [/edit]
It seems there is also a Flash-based work-around.
[edited by: Rambo_Tribble at 5:36 pm (utc) on April 19, 2009]
I will look into the flash-based method that you mentioned. In the mean time, if anyone can work out how it's done <snip>, I will appreciate it very much.
[edited by: whoisgregg at 9:19 pm (utc) on April 20, 2009]
[edit reason] No site specifics please, TOS #13 [/edit]
You should check your inbox [webmasterworld.com], I've sent you a couple sticky mails. :)