文章列表
JS部分:
<script language="javascript"><!-- String.prototype.IsNullOrEmpty = function() { if(this == null || this == "") { return true; } return false; } var $ = function (id) { return "string" == typeof id ? document.getElementById(id) : id; }; function Links ...
Ajax is "asynchronous javascript and XML" has been well-known acronym,However,
although XML is an important part of the look,It isn't necessary.A senior software
engineer Douglas Crock ford developed a built-in javascript data format,That the
object known as the javascript(JSON,Javascrip ...
if(/msie/i.test(navigator.userAgent)) { window.XMLHttpRequest=function(){ var msxmls=['MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','MICROSOFT.XMLHTTP.1.0','MICROSOFT.XMLHTTP.1','MICROSOFT.XMLHTTP']; for(var i=0;i<msxmls.length;i++){ tr ...
function Ajax(){ this.XMLHttp=false; try {this.XMLHttp=new XMLHttpRequest()}catch (e1){ try {this.XMLHttp=new ActiveXObject("Msxml2.XMLHTTP")} catch (e2){ try {this.XMLHttp=new ActiveXObject("Microsoft.XMLHTTP")} catch (e3){this.XMLHttp = false}}}; ...