ajax

Ajax operations (data loading, server side events).

    webix.ajax("data.php");
    //or
    webix.ajax.post("data.php", {
        someParameter:"someValue"
    });

The lib can execute get and post requests in sync and async mode. For more details check Ajax operations article.

Methods
bind binds callback function to object
del issues a DELETE Ajax request to the server
get issues a GET Ajax request to the server
getXHR returns an xmlHttpRequest object
headers sets the HTTP request header(s)
patch issues a PATCH Ajax request to the server
post issues a POST AJAX request to the server
put issues a PUT Ajax request to the server
response sets response type of the request
stringify converts data object into a string before sending it to server
sync 'says' to send requests synchronously
timeout max time for ajax request in milliseconds
Other
master returns a master component for the AJAX request
Back to top