最新更新 sitemap 网站制作设计本站搜索
网页设计
国外网站 韩国网站 个人主页 手提袋设计 CSS 网页特效 平面设计 网站设计 Flash CMS技巧 服装网站 php教程 photoshop 画册 服务器选用 数据库 Office
虚拟主机 域名注册 云主机 网页设计 客服QQ:8208442

XMLHTTPRequest对象-XML/XSLT

日期:04-23    来源:中国设计秀    作者:cnwebshow.com

nPv中国设计秀
       alert("Result = " + xmlhttp.responseXML.xml);nPv中国设计秀
       nPv中国设计秀
         // 属性:statusnPv中国设计秀
       // 返回当前请求的http状态码nPv中国设计秀
       // 语法:lValue = oXMLHttpRequest.status;nPv中国设计秀
       // 返回值:长整形标准http状态码,定义如下: nPv中国设计秀
       // Number:Description  nPv中国设计秀
       // 100:ContinuenPv中国设计秀
         // 101:Switching protocolsnPv中国设计秀
         // 200:OKnPv中国设计秀
         // 201:CreatednPv中国设计秀
         // 202:AcceptednPv中国设计秀
         // 203:Non-Authoritative InformationnPv中国设计秀
         // 204:No ContentnPv中国设计秀
         // 205:Reset ContentnPv中国设计秀
         // 206:Partial ContentnPv中国设计秀
         // 300:Multiple ChoicesnPv中国设计秀
         // 301:Moved PermanentlynPv中国设计秀
         // 302:FoundnPv中国设计秀
         // 303:See OthernPv中国设计秀
         // 304:Not ModifiednPv中国设计秀
         // 305:Use ProxynPv中国设计秀
         // 307:Temporary RedirectnPv中国设计秀
         // 400:Bad RequestnPv中国设计秀
         // 401:UnauthorizednPv中国设计秀
         // 402:Payment RequirednPv中国设计秀
         // 403:ForbiddennPv中国设计秀
         // 404:Not FoundnPv中国设计秀
         // 405:Method Not AllowednPv中国设计秀
         // 406:Not AcceptablenPv中国设计秀
         // 407:Proxy Authentication RequirednPv中国设计秀
         // 408:Request TimeoutnPv中国设计秀
         // 409:ConflictnPv中国设计秀
         // 410:GonenPv中国设计秀
         // 411:Length RequirednPv中国设计秀
         // 412:Precondition FailednPv中国设计秀
         // 413:Request Entity Too LargenPv中国设计秀
         // 414:Request-URI Too LongnPv中国设计秀
         // 415:Unsupported Media Type nPv中国设计秀
         // 416:Requested Range Not Suitable nPv中国设计秀
         // 417:Expectation Failed nPv中国设计秀
         // 500:Internal Server Error nPv中国设计秀
         // 501:Not ImplementednPv中国设计秀
         // 502:Bad GatewaynPv中国设计秀
         // 503:Service UnavailablenPv中国设计秀
         // 504:Gateway Timeout nPv中国设计秀
         // 505:HTTP Version Not SupportednPv中国设计秀
         // 备注:长整形,此属性只读,返回当前请求的http状态码,此属性仅当数据发送并接收完毕后才可获取。 nPv中国设计秀
       alert(xmlhttp.status);nPv中国设计秀
       nPv中国设计秀
       // 属性:statusTextnPv中国设计秀
       // 返回当前请求的响应行状态nPv中国设计秀
       // 语法:strValue = oXMLHttpRequest.statusText;nPv中国设计秀
       // 备注:字符串,此属性只读,以BSTR返回当前请求的响应行状态,此属性仅当数据发送并接收完毕后才可获取。 nPv中国设计秀
       alert(xmlhttp.statusText);nPv中国设计秀
    }nPv中国设计秀
}nPv中国设计秀
//-->nPv中国设计秀
</script>nPv中国设计秀
</head>nPv中国设计秀
<body>nPv中国设计秀
<form name="frmTest">    nPv中国设计秀
    <input name="myButton" type="button" value="Click Me" onclick="PostOrder('http://localhost/example.htm');">nPv中国设计秀
</form>    nPv中国设计秀
</body>nPv中国设计秀
</html>nPv中国设计秀
nPv中国设计秀
nPv中国设计秀
呵呵,我很久前在blueidea上发表的,现在找到了,就发出来了,以后我会自己写更多的东西的.nPv中国设计秀