js如何准确获取当前页面url网址信息
摘要:
1、window.location.href(设置或获取整个 URL 为字符串) var test = window.location.href;alert(test);返回:http://i.cnblogs.com/EditPosts.aspx?opt=1 2、window.location.pr 阅读全文
posted @ 2017-01-16 10:29 Mike17 阅读(1526) 评论(0) 推荐(0)
浙公网安备 33010602011771号