摘要:
javascript接收get方式的参数:<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> --------------------------------location对象 含有当前URL的信息. 属性 href 整 阅读全文
posted @ 2012-07-24 17:04
滴墨成伤
阅读(536)
评论(0)
推荐(0)
浙公网安备 33010602011771号