43 ms·
Interesting Technique For Cross-Domain AJAX Requests
- aditya 17y agoThis is pretty cool. Facebook uses a similar technique, using a cross-domain communication channel, which is also a bit of a hack: http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication_Channel http://wiki.developers.facebook.com/index.php/Cross_Domain_C...
- pierrefar 17y agoSo YQL is the proxy instead of one on the original domain.
- jusob 17y agoThat's not news. This is called JsonP, and it requires the server to handle it by creating the right callback function. This is well documented on the JQuery website: http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback