issues a GET Ajax request to the server
url | string | the url to load |
params | object | the hash of parameters that need sending to the server |
callback | function | the callback function |
promise | data "promise" object |
webix.ajax().get("data.php", { filter : "123" }, function(text, xml, xhr){
//response
alert(text);
});
The callback function takes 3 parameters:
The method returns a promise object than contains the eventual result of an Ajax request.
More information on Webix and Promiz.js usage can be found at:
Back to top