摘要: var xmlhttp;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari alert("高级浏览器、IE7以上版本"); }else {// code for IE6, IE5 alert("IE6,IE5"); }根据不同的浏览器创建 XMLHttpRequest 对象var xmlhttp;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xml 阅读全文
posted @ 2012-09-27 14:30 banbu 阅读(326) 评论(0) 推荐(0) 编辑