Hi All,
I have this web service, with JSON
/api/whatismyip.php
and with JSON-PCode:{"ip":"66.249.65.115"}
/api/whatismyip.php?callback=functionName
The client-side uses only JSONCode:functionName({"ip":"66.249.65.115"});
/examples/whatismyip.html
Do you know a way to use JSON-P with Ext JS ?Code:Ext.Ajax.request({ url: '/api/whatismyip.php', success: function(response, opts) { var obj = Ext.decode(response.responseText); //console.dir(obj); Ext.get('loading').fadeOut(); Ext.MessageBox.alert('IP Address', obj.ip); } });

LinkBack URL
About LinkBacks
