更新时间:2022-03-10 05:03:18
你必须像这样重写它:
var response = '';
$.ajax({ type: "GET",
url: "http://www.google.de",
async: false,
success : function(text)
{
response = text;
}
});
alert(response);