会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
1
2 3 4
无序
找到自己的舞台,演出自己的精彩
博客园
首页
新随笔
联系
订阅
管理
2021年10月8日
JS获取页面URL信息小总结
摘要: window.location.href (设置或获取整个 URL 为字符串) var test = window.location.href; alert(test); // 返回:http://i.cnblogs.com/EditPosts.aspx?opt=1 window.location.
阅读全文
posted @ 2021-10-08 17:10 无序
阅读(146)
评论(0)
推荐(0)
编辑
公告