代码改变世界

随笔档案-2016年03月

[资料收集]js小技巧

2016-03-11 12:44 by lilooo, 205 阅读, 收藏,
摘要: 一、获取当前页面路径 from: http://www.jb51.net/article/45337.htm 设置或获取对象指定的“文件名”或路径:window.location.pathname结果:/bubiao/monitorCenter/map.jsp设置或获取整个 URL 为字符串:win 阅读全文