PDA

View Full Version : Requirments for Ext.util.JSONP request



Shijutv
30 Dec 2010, 5:30 AM
Hi All,
When i try to execute a JSONP request , i am not getting any response. But when i run the url in browser , i am getting response.
What is the reason regarding this problem?

Ext.util.JSONP.request({
url: http://localhost/sencha-touch-1.0/shiju_examples/forms/postUser.php,
callbackKey: 'callback',
params: {
firstName:'shiju',
},
callback: function(result) {
alert('s'+result);

}
});





Thanks In Advance
Shiju

evant
30 Dec 2010, 5:36 AM
Have you done some reading about how JSONP works?