PDA

查看完整版本 : 請教如何取得當前頁網址


Matt
2013-03-18, 01:01 PM
請教如何取得當前頁網址並將網址顯示在原始碼裡面?
<script type="text/javascript">
//http://www.w3schools.com/htmldom/dom_obj_location.asp
document.write( location.href+"<br/>");
</script>

3q3q