issues jsonP call
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...
})
- data object value returned by server
http://en.wikipedia.org/wiki/JSONP
Back to top