sends a GET AJAX request to the server

promise get(string url, [object params,function callback] );
urlstringthe URL to load
paramsobjectthe object with parameters that need sending to the server
callbackfunctionthe callback function
promisedata "promise" object


webix.ajax().get("data.php", { filter : "123" }).then(function(data){
    // response



The callback function takes 3 parameters:

  • text - the full text of the response from the server
  • data - the object with methods for getting data as plain text, JSON, and XML
  • xhr - an xmlHttpRequest-object

Return value

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:

See also
Back to top