Windows Dev Center

EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2015 Microsoft