摘要:
网址示例: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); --... 阅读全文
摘要:
网址示例: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); --... 阅读全文
|