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
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