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