Javascript Reference
Categories: dataTransfer

javascript dataTransfer clearData( )

@March 15, 2008, 1:22 a.m.
clearData( )Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

clearData([dataFormat])

  

Removes data from the dataTransfer object.

 
Parameters
 
dataFormat

An optional string specifying the 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 deletes all data of all types.

 
Returned Value

None.


Powered by Linode.