摘要: function createXHR(){ var xhr = null; if(window.XMLHttpRequest){ xhr = new XMLHttpRequest(); } else{ xhr = new ActiveXObject("Msxml2.XMLHTTP"); } retu 阅读全文
posted @ 2020-06-21 09:40 呱呱呱呱坠地 阅读(191) 评论(0) 推荐(0)
摘要: function getElementStyle(selector) { var element = document.querySelector(selector); return element.currentStyle ? element.currentStyle : window.getCo 阅读全文
posted @ 2020-06-21 09:38 呱呱呱呱坠地 阅读(181) 评论(0) 推荐(0)