Namespace Simples.ajaxDefaults
Simples.ajaxDefaults
Defined in: ajax.js.
Constructor Attributes | Constructor Name and Description |
---|---|
default behaviour for all ajax requests
|
Field Attributes | Field Name and Description |
---|---|
<static> |
Simples.ajaxDefaults.async
boolean value of whether you want the request to be asynchronous or blocking
|
<static> |
Simples.ajaxDefaults.beforeSend
function to execute request is made to server ( xhrObject )
|
<static> |
Simples.ajaxDefaults.complete
function to execute when complete arguments are ( xhrObject, 'complete' )
|
<static> |
Simples.ajaxDefaults.context
Simples.ajaxDefaults.context: context in which the callback is to be executed
|
<static> |
Simples.ajaxDefaults.data
data: data to pass to the server
|
<static> |
Simples.ajaxDefaults.dataType
The data type that'll be returned from the server the default is simply to determine what data was returned from the and act accordingly.
|
<static> |
Simples.ajaxDefaults.error
function to execute when complete arguments are ( xhrObject, 'error' || 'pareseerror' )
|
<static> |
Simples.ajaxDefaults.success
function to execute when complete arguments are ( data, 'success', xhrObject )
|
<static> |
Simples.ajaxDefaults.timeout
the time to allow the request to be open before a timeout is triggered
|
<static> |
Simples.ajaxDefaults.type
the HTTP verb type of request GET, POST, PUT, DELETE
|
<static> |
Simples.ajaxDefaults.xhr
helper to return the correct XHR object for your platform
|
Field Detail
<static>
Simples.ajaxDefaults.async
boolean value of whether you want the request to be asynchronous or blocking
<static>
Simples.ajaxDefaults.beforeSend
function to execute request is made to server ( xhrObject )
<static>
Simples.ajaxDefaults.complete
function to execute when complete arguments are ( xhrObject, 'complete' )
<static>
Simples.ajaxDefaults.context
Simples.ajaxDefaults.context: context in which the callback is to be executed
<static>
Simples.ajaxDefaults.data
data: data to pass to the server
<static>
Simples.ajaxDefaults.dataType
The data type that'll be returned from the server the default is simply to determine what data was returned from the and act accordingly. -- xml: "application/xml, text/xml", html: "text/html", json: "application/json, text/javascript", text: "text/plain", _default: "*%2F*"
<static>
Simples.ajaxDefaults.error
function to execute when complete arguments are ( xhrObject, 'error' || 'pareseerror' )
<static>
Simples.ajaxDefaults.success
function to execute when complete arguments are ( data, 'success', xhrObject )
<static>
Simples.ajaxDefaults.timeout
the time to allow the request to be open before a timeout is triggered
<static>
Simples.ajaxDefaults.type
the HTTP verb type of request GET, POST, PUT, DELETE
<static>
Simples.ajaxDefaults.xhr
helper to return the correct XHR object for your platform