Javascript Reference
Categories: window

javascript window clipboardData

@July 28, 2009, 9:07 a.m.
clipboardData Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  
  Read-only  

Returns the clipboardData object. The object (accessible as a property of a window or frame object) is a temporary container that scripts in IE 5 and later for Windows can use to transfer text data, particularly during script-controlled operations that simulate cutting, copying, and pasting, or that control dragging.

 
Example
 
var rng = document.selection.createRange( );
clipboardData.setData("Text",rng.text);
 
Value

The clipboardData object.

 
Default

The clipboardData object.

nice example, but I think It only works on IE can it work on other browsers too.

plz tell me.
RAvi - 2012-01-31
클립보드
santheduk - 2009-02-19

Powered by Linode.