Members
-
<static> factories :Array
-
Array holding several XHR factories for cross-browser compatibility
- Source:
Methods
-
<static> createObject()
-
Creates a new XHR object by calling a supported factory.
- Source:
XMLHttpRequest -
<static> get()
-
Sends a GET XHR request.
Parameters:Name Type Argument Description options.url
String Request URL options.onSuccess
function <optional>
Callback to execute when request has succeeded options.onError
function <optional>
Callback to execute when request has failed options.onComplete
function <optional>
Callback to execute when request has finished, successful or not options.callbackParams
Object <optional>
Parameters to pass to callback function options.context
Object <optional>
Context used for callback functions - Source: