This is used to extract the data via the dataTransfer, or clipboardData objects. The value returned will be in the form of a string and will either be the textual content or a URL reference to a non-text item.
This mode of access preserves the various security needs when accessing values from one frame to another.
This method is most useful within the onCopy and onCut event handlers.
See also: | clipboardData object, onCopy, onCut |
Prev | Home | Next |
dataTransfer.effectAllowed | Up | dataTransfer.setData() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |