onerror
A callback function that is called if the request fails due to an error.
Declaration
attribute function onerror;Discussion
This attribute must be set to a function; for example, XMLHttpRequest.onerror = function () {}.
A callback function that is called if the request fails due to an error.
attribute function onerror;This attribute must be set to a function; for example, XMLHttpRequest.onerror = function () {}.