Hello,World! Here is my personal weblog about technology and life.
© 2016. All rights reserved.
SooHu原创
function getHTTPObject() { var xhr = false; if (window.XMLHttpRequest) { xhr = new XMLHttpRequest; } else if (window.ActiveXObject) { try { xhr = new ActiveXObject("msxm12.XMLHttp"); } catch(e) { try { xhr = new ActiveXObject("Microsoft.XMLHttp"); } catch(e) { xhr = false; } } } return xhr; }