HTML DOM Document strictErrorChecking 属性
- 前のページ scripts
- 次のページ title
- 上一层に戻る HTML DOM Documents
定義と使用法
推奨されません strictErrorChecking
属性。使用しないでください。
strictErrorChecking
属性はすべての新しいブラウザで返却されます undefined
。
注釈:strictErrorChecking
属性は DOM Core Level 3 (2004) 特性です。
これにより、ブラウザが DOM 操作に対してエラーオブジェクトを投げるべきかどうかを制御するべきです。
代替案:
文法
返却 strictErrorChecking:
document.strictErrorChecking
設定 strictErrorChecking:
document.strictErrorChecking = true|false
返り値
タイプ | 説明 |
---|---|
ブール値 |
strictErrorChecking が有効になっている場合、true が返されます。 すべての新しいブラウザでは undefined が返されます。 |
- 前のページ scripts
- 次のページ title
- 上一层に戻る HTML DOM Documents