1
我尝试使用JQuery不同的方法,如如何在XUL环境Ajax调用在XUL环境
$.ajax({
url:'http://www.X-site.com/api/call.php?q=test',
success: function(){alert('success');},
error: function(req,str,e){alert(str)}
});
没有得到任何回调....但已经调用,并在收到X-现场。这是一个X站点呼叫。 Posted a similar question using jsonGet
如何在XUL环境中调用AJAX调用,除jQuery以外的任何其他方式?
[一些帮助这里(http://digitalmihailo.blogspot.com/2008/05/make-jsonp-work-in-firefox- chrome.html),但解决方案很奇怪。 – millebii