jquery ajax get responsetext from http url

后端 未结 9 1353
盖世英雄少女心
盖世英雄少女心 2020-12-07 19:14

Neither:

var response = $.ajax({
    type: \"GET\",   
    url: \"http://www.google.de\",   
    async: false,
    success : function() {
        alert (this         


        
9条回答
  •  广开言路
    2020-12-07 19:52

    Actually, you can make cross domain requests with i.e. Firefox, se this for a overview: http://ajaxian.com/archives/cross-site-xmlhttprequest-in-firefox-3

    Webkit and IE8 supports it as well in some fashion.

提交回复
热议问题