Library: SimileAjax.XmlHttp
Overview
XmlHttp utility functions
Constructors
Functions
Callback for XMLHttp onRequestStateChange.
parameters
| xmlhttp | ||
| fError | ||
| fDone |
Creates an XMLHttpRequest object. On the first run, this
function creates a platform-specific function for
instantiating an XMLHttpRequest object and then replaces
itself with that function.
Performs an asynchronous HTTP GET.
parameters
| Function | fError | a function of the form function(statusText, statusCode, xmlhttp) |
| Function | fDone | a function of the form function(xmlhttp) |
Performs an asynchronous HTTP POST.
parameters
| Function | fError | a function of the form function(statusText, statusCode, xmlhttp) |
| Function | fDone | a function of the form function(xmlhttp) |
Objects