> I'm trying to call a url with async: false but I always > receive an exception. > ... > responseText always throw a null or not an object exception.
A JSONP request is not done with an XMLHttpRequest object, otherwise it couldn't be done cross-domain. You can't do it async and you can't use a .responseText property because there isn't one. The docs link to a site that explains the concept behind JSONP: http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/ The docs could use more clarification on this; JSONP is close enough in spirit that it can fit in the $.ajax call, but a lot of the options there don't apply to JSONP. I made a few changes a while back but more could be done; suggestions welcome! http://docs.jquery.com/Ajax/jQuery.ajax#options http://dev.jquery.com/ticket/4110 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
