Apparently that works in IE 5 and 6.  IE 7 and Firefox throws an alert
requesting permission for clipboard access; who'd what a website accessing
the clipboard without permission?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Marsden
Sent: 12 September 2007 11:46
To: [email protected]
Subject: Re: [Flashcoders] Text Editor Undo/Redo Stack

skillz, thanks :)



Muzak wrote:
> Use javascript:
>
> //HTML
> <script language="javascript">
>
>  function getClipBoardText() {
>   var t = window.clipboardData.getData("TEXT");
>   return t;
>  }
>
> </script>
>
>   

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to