designMode
all
alt
ch
dir
id
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft