I had a previous question can jquery ajax call external webservice?
and some good developers answered me to use jsonp, but i don\'t know how to use it, i am tr
Hezil's code worked for me, but I had to change the server code to this:
$data = '{"name" : "hello world"}'; echo $_GET['callback'] . '(' . $data . ');';
Note the "callback" instead of "jsoncallback".