Javascript Reference
Categories: clipboardData

javascript clipboardData getData( )

@June 2, 2008, 4:23 p.m.
getData( ) Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

getData(dataFormat)

  

Returns a copy of data from the clipboardData object. The clipboardData contents remain intact for subsequent reading in other script statements.

 
Parameters
 
dataFormat

A string specifying the format for the data to be read. Earlier plans to allow multiple data types appear to have fallen through. As of IE 6, the only reliable format is Text.

 
Returned Value

String.


Powered by Linode.