想要用Javascript 取得網址目前頁面的路徑,使用location 中的pathname。location.pathname 可以直接取得目前包含頁面名稱的路徑,但不包含Get、錨點 ...
確定! 回上一頁