dataTransfer Object Sample

This example demonstrates how to use the setData and getData methods of the dataTransfer object, in order to enable the HREF within a link to be dragged. This functionality makes it possible to drop shortcuts into other applications and onto the desktop.



Test Anchor

Drop the Link Here




[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.