DOMRequest.onsuccess

This property specifies a callback function to be run when a DOMRequest completes successfully.

Note: This feature is available in Web Workers.

Syntax

request.onsuccess = function;

Where request is a DOMRequest object and function is a JavaScript function to run when the request completes successfully.

Specifications

Not part of any current specification.

Browser compatibility

Supported in Firefox 13.
Available in workers in Firefox 41.

See also