Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-03-2004, 02:11 PM #1
- Join Date
- Nov 2002
- Manchester, UK
- Thanked 1 Time in 1 Post
access clipboard - paste in particular!
Ive written a key capture event that captures the "CTRL+V" (paste)
I am pasting the text to an iFrame in design mode, but before it is pasted to screen I need to remove the formatting...
I have all the function for removing formatting, eg: HTML elements etc... but I really need to know if its possible to access the clipboard
its going to be used in IE 5.5 and higher if that helps...
my function is this
//get the contents of the clipboard
//remove the formatting
//paste the contents of formatted clipboard to the iFrame
any one know how??
I tried using
tmp = iView.execCommand("paste","",null);
but that just returned "true" as the value of tmp!!