开发者

Chrome: XHR finished loading, return XHR as string?

I'm wondering.. how would I get the XHR 开发者_JS百科finished loading string?

Basically, I'm on Google instant's page and I want to get the return the "real" URL of the search results in the form of a string.


If jQuery is an option, you can do an Ajax call and get the result of the page in the succes event

    $.ajax({
  url: 'ajax/test.html',
  success: function(data) {
    $('.result').html(data);
    alert('Load was performed.');
  }
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜