patch

sends a PATCH AJAX request to the server

promise patch(string url, [object params,function callback] );
url
stringthe URL to load params
objectthe object with parameters that need sending to the server callback
functionthe callback function
promisedata "promise" object

Example

webix.ajax().patch("data.php", { id : "11" }).then(function(data){
    //response
    console.log(data.text());
});

Details

The callback function takes 3 parameters:

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.