Javascript Reference
Categories: clipboardData

javascript clipboardData clearData( )

@May 23, 2008, 1:58 p.m.
clearData( ) Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

clearData([dataFormat])

  

Removes data from the clipboardData object.

 
Parameters
 
dataFormat

An optional string specifying a single format for the data to be removed. Earlier plans to allow multiple data types appear to have fallen through. As of IE 6, the only reliable format is Text. Omitting the parameter removes all data of all types.

 
Returned Value

None.


Powered by Linode.