自强学堂
自强学堂:学习、分享、让你更强!
JavaScript 参考手册HTMLCSSJAVASCRIPTJQUERYSQLPHPBOOTSTRAPANGULARXML
 

DOM Document strictErrorChecking 属性

Document 对象参考手册 Document 对象


定义和用法

strictErrorChecking 属性可设置或返回是否强制进行错误检查(error-checking)。

在设置为 false 后,实现不会对每个可能的错误情况进行测试。此属性被默认设置为 true。

默认值为 true.


浏览器支持

Internet ExplorerFirefoxOperaGoogle ChromeSafari

目前所有主流浏览器都不支持 strictErrorChecking 属性。


语法

设置 strictErrorChecking

document.strictErrorChecking=true|false

返回 strictErrorChecking

document.strictErrorChecking

技术细节

返回值:Boolean, true|false
DOM 版本Core Level 3 Document Object


Document 对象参考手册 Document 对象