performs an async-PUT ajax request
url | string | url to the server side |
params | string | optional, request params |
callback | function | optional, a function to call after the response is loaded |
// simple data sending w/o post params
dhx.ajax.put("server.php?keep_alive=1");
// simple data sending with params
dhx.ajax.put("server.php", "keep_alive=1&version=std");
// data sending w/o params with callback
dhx.ajax.put("server.php", function(){
// your code here
});
// data sending with params and callback
dhx.ajax.put("server.php", "keep_alive=1&version=std", function(){
// your code here
});
added in 4.1
Back to top