![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
clhll123
这个作者很懒,什么都没留下…
展开
-
JS获取url中的参数
方法一:正则法function getQueryString(name) {var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');var r = window.location.search.substr(1).match(reg);if (r != null) {return unescape(r[2]);}return null;}// 这样调用:alert(GetQueryString("参原创 2020-10-15 15:44:07 · 511 阅读 · 0 评论 -
js判断浏览器内核(ie11特殊判断)
之前用的js代码function getExplorer() { var explorer = window.navigator.userAgent ; //ie if (explorer.indexOf("MSIE") >= 0) { return "ie"; } //firefox else if (explorer.indexOf("Firefox") >...原创 2019-12-11 16:51:38 · 542 阅读 · 0 评论 -
Window.open()方法参数详解
Window.open()方法参数详解原文链接:https://www.cnblogs.com/sofiawang/articles/1544631.html1, 最基本的弹出窗口代码 window.open('page.html');2, 经过设置后的弹出窗口 window.open('page.html', 'newwindow', 'height=100, width=...转载 2018-11-27 16:16:33 · 1972 阅读 · 0 评论