dadamoney

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年7月21日

摘要: 网址示例:http://localhost/test/test.htm?id=1<script languge=javascript> alert(window.location.pathname); --返回 /test/test.htm alert(window.location.search); --返回 ?id=1 alert(window.location.href); --... 阅读全文
posted @ 2009-07-21 16:04 dadamoney 阅读(393) 评论(0) 推荐(0) 编辑