摘要:
//获取url参数 window.getParam = function(url, id) { url = url+ ""; var regstr = "/(\\?|\\&)" + id + "=([^\\&]+)/"; var reg = eval(regstr); var result = url.match(reg); ... 阅读全文
摘要:
var str = 'adddaadfsdada' str.replace(/]+>/g,'') 阅读全文