摘要: 1、获取整个URL字符串 要想获取URL中的参数,首先我们就要获取到整个URL字符串。我们以http://localhost:8080/Charge/homePage.html?costInfoId=1为例 ① 获取(或设置) URL 的协议部分:window.location.protocol ② 阅读全文
posted @ 2018-05-14 15:44 风花雪夜 阅读(455) 评论(1) 推荐(0) 编辑