摘要: function IsPC() { var userAgentInfo = navigator.userAgent; var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); va... 阅读全文
posted @ 2016-07-19 17:04 PowellZhao 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1 // 封装的 ajax网络请求函数 2 // obj 是一个对象 3 function AJAX(obj){ 4 // 1、创建 ajax 对象 5 var ajaxObj = null; 6 if (window.XMLHttpRequest) { 7 ajaxObj = new XMLHttpRequest(); 8 }el... 阅读全文
posted @ 2016-07-19 16:48 PowellZhao 阅读(283) 评论(0) 推荐(0) 编辑