JQuery ajax cross domain call and permission issue

前端 未结 4 451
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-10 07:15

I have this polling script to check if a text file is created on the server. Works great locally, but fails when the file is on a different domain. How would i rewrite this

4条回答
  •  醉话见心
    2020-12-10 08:03

    To get cross-domain AJAX via jQuery, you might want to check this out: http://github.com/jamespadolsey/jQuery-Plugins/tree/master/cross-domain-ajax/

提交回复
热议问题