Returns the message associated with an error that occurred during a DOM operation.
Property of dom/DOMErrordom/DOMError
SyntaxNote: This property is read-only.
var result = element.message;
Return Value
Returns an object of type StringString
The message associated with an error.
Examplesfunction getErrorMsg(e) {
//retrieve message text for DOMError
var errorMsg = e.message;
return errorMsg;
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4