issues jsonP call
Will be deprecated in Webix 7.0
url | string | server-side feed |
params | object | hash of parameters which will be included in jsonp url |
callback | function | callback method |
master | object | value of "this" in callback |
// minimal call
webix.jsonp("http://some.com/some.php", function(data){
... do something...
});
// call with extra parameters
webix.jsonp("http://some.com/some.php", {
user:12,
action:"fetch"
}, function(data){
... do something...
});
The callback function takes one parameter:
The details on the JSONP technique can be found at http://en.wikipedia.org/wiki/JSONP.
Back to top