JavaScript Reference/Javascript Properties/designMode
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
"designMode" Example
<html>
<body>
<button onclick="alert(document.designMode);">Design Mode Status</button>
</body>
</html>
"designMode" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document |
+----------------+--------------------------------------------------------------+
"designMode" Possible Values
Possible Values
on can be modified
off or inherited the default; cannot be modified.
"designMode" Syntax and Note
Note:
Read and write property.
Specifies whether or not the document content can be modified.
Syntax:
document.designMode = value