如何访问阿贾克斯另一个域到文件 [英] how to access to file in another domain by ajax

查看:96
本文介绍了如何访问阿贾克斯另一个域到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问由AJAX另一个域到文件 (我不希望使用任何PHP文件)

How to access to file in another domain by ajax (I don't want use any php files)

推荐答案

詹姆斯Padolsey 有一个很好的插件它扩展了jQuery的AJAX功能使用YQL。你可以在这里找到它: http://james.padolsey.com/的JavaScript /跨域-请求与 - jQuery的/

James Padolsey has a nice plug-in that extends the jQuery ajax function to use YQL. You can find it here: http://james.padolsey.com/javascript/cross-domain-requests-with-jquery/

这篇关于如何访问阿贾克斯另一个域到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆