摘要: function getUrl(name, url) { url = url || window.location.search; var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = url.substr(1).match(reg); if (r != null) return (r[2]);... 阅读全文
posted @ 2018-08-14 17:37 兼容IE8 阅读(1094) 评论(0) 推荐(0) 编辑