Showing content from https://webplatform.github.io/docs/dom/Element/code below:
code ยท WebPlatform Docs
code
Property of dom/Elementdom/Element
Syntax
var result = element.code;
element.code = value;
Notes Remarks
The code
property returns one of the following file error codes.
NotFoundError 8 The File or Blob could not be found at the time the read was processed. SecurityError 18 A file error not covered by the other file error codes occurred, such as:
- Too many read calls are being made on File or Blob resources.
- The file has changed on disk since the user selected it.
- Certain files are unsafe for access within a web application.
AbortError 20 The read operation was aborted, typically with a call to abort. NotReadableError 0 The File or Blob cannot be read, typically due to permission problems that occur after a reference to a File or Blob has been acquired (that is, concurrent lock with another application). EncodingError 0 The length of the data URL for a File or Blob is too long.
See FileError for a code example using these error codes.
Syntax See also Related pages
Attributions
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