Windows Dev Center

all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

designMode property

Sets or gets a value that indicates whether the document can be edited.

Syntax

JavaScript

p = object.designMode

 

Property values

Type: String

on

Document can be edited.

off | inherit

Default. Document cannot be edited.

Remarks

Starting with Internet Explorer 11, the returned property values are lower case rather than capitalized.

You cannot execute script when the value of the designMode property is set to on.

See also

document
Introduction to MSHTML Editing

 

 

Show:
© 2015 Microsoft