JavaScript Reference/Javascript Properties/designMode — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:22, 26 мая 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