<html>
<body>
<h1>Document designMode Property</h1>
<p>The designMode property sets, or returns, whether the document is editable or not.</p>
<p>Click the button to see get the value of the desgnMode property:</p>
<button onclick="myFunction()">Get the designMode</button>
<p id="demo"></p>
<script>
function myFunction() {
var x = document.designMode;
document.getElementById("demo").innerHTML = x;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_doc_designmode2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:01:40 GMT -->
</html>