摘要: //获取url参数 window.getParam = function(url, id) { url = url+ ""; var regstr = "/(\\?|\\&)" + id + "=([^\\&]+)/"; var reg = eval(regstr); var result = url.match(reg); ... 阅读全文
posted @ 2019-07-05 10:59 WXUECHAO 阅读(127) 评论(0) 推荐(0) 编辑
摘要: var str = 'adddaadfsdada' str.replace(/]+>/g,'') 阅读全文
posted @ 2019-07-05 09:51 WXUECHAO 阅读(3831) 评论(0) 推荐(0) 编辑