摘要: 第一种:字符串拆分法 window.location.href 或者 location.href 或者 window.location 获得地址栏中的所有内容 decodeURI()可以解码地址栏中的数据 恢复中文数据 window.search 获得地址栏中问号及问号之后的数据 第二种:正则匹配法 阅读全文
posted @ 2018-09-12 16:44 儒雅随和的小郭 阅读(1190) 评论(0) 推荐(0)