Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

draggable attribute | draggable property

Sets or gets whether an element can be dragged on a document.

This property is read/write.

Internet Explorer 10

Syntax

HTML
<element draggable="bDraggable" ... >
JavaScript
object.draggable = bDraggable
bDraggable = object.draggable

Property values

Type: boolean

True when attribute is present, false when missing.

Remarks

Prior to the current version of the client, only links and images were draggable on a web document. This attribute allows any element to be draggable.

Note  For code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.

See also

HTMLElement

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.