2018年10月17日

获取url上的参数

摘要: var aa = '?name=hss&age=13'; function strToObj(str){ if(typeof str === 'undefined'){ str = location.search; } var reg = /[\?|&]+(\w+)=(\w*)/g; ... 阅读全文

posted @ 2018-10-17 17:25 huo2song 阅读(245) 评论(0) 推荐(0)

导航