how to send jsonp request to server in sencha 2.0 -
i error repeatedly
uncaught syntaxerror: unexpected token : ajax.php
{"error":"server error</b>: method file_get_contents unable open request body!"}
ext.data.jsonp.request({ url: 'http://yaksee.com/facebook/ajax.php', callbackkey: 'callback', params: { format: 'json', }, success: function(result) { if (result) { alert('success'); alert(result); } else { ext.msg.alert('error', 'there error retrieving weather.'); } } }); }},
you have disable browser's web security
then ok
Comments
Post a Comment