location對象 location.href url地址 location.hash 錨點 location.hostname 主機名(需要放到伺服器上) location.host 主機名+埠號(需要放到伺服器上) location.pathname 目錄或者文件 location.port ...
location對象 location.href url地址 location.hash 錨點 location.hostname 主機名(需要放到伺服器上) location.host 主機名+埠號(需要放到伺服器上) location.pathname 目錄或者文件 location.port ...