$(document).ready(function() { $.ajax({ type: "Get", url: "http://www.baidu.com/", complete: function(XHR, TS) { alert(TS); } }); });