Methods
ajaxGET(url, callbackopt, bundleopt)
Retrieves files and data via a HTTP GET call using the XMLHttpRequest
class. This function has support for a callback function when it is finished
as well as passing a bundle object back to the callback function when
everything is complete. This function is asynchronous!
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
url |
string | the url of the resource | |
callback |
function |
<optional> |
A callback to be made when the resource has been retrieved. |
bundle |
Object |
<optional> |
A bundle object to be passed to the callback |
- Source: