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
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | 13.0 (13.0) | ? | ? | ? |
Available in workers | ? | 41.0 (41.0) | ? | ? | ? |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | ? | 13.0 (13.0) | ? | ? | ? |
Available in workers | ? | ? | 41.0 (41.0) | ? | ? | ? |