Javascript examples for DOM:Document strictErrorChecking
The strictErrorChecking property sets or gets whether a document has a strict error checking.
Default value is true.
Set the strictErrorChecking
A Boolean, true or false
<!DOCTYPE html> <html> <body> <button onclick="myFunction()">test</button> <p id="demo"></p> <script> function myFunction() {/* w ww . j a v a 2s .c om*/ var x = document.strictErrorChecking; document.getElementById("demo").innerHTML = x; } </script> </body> </html>