DOMRequest.onsuccess

« DOM Reference

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Summary

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

Syntax

request.onsuccess = function;

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

Specification

Not part of any current specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 13.0 (13.0) ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 13.0 (13.0) ? ? ?

See also

Document Tags and Contributors

Contributors to this page: Sheppy, tregagnon, kscarfone
Last updated by: kscarfone,