URL 地址欄錨點 window location hash 使用方法

location是javascript裏邊管理地址欄的內置對象, 比如location.href就管理頁面的url,用location.href=url就可以直接將頁面重定向url。 本文轉自米撲博客:URL 地址欄錨點 window.location.hash 使用方法 js 重定向網址的兩種方法: window.location.href = "https://proxy.mimvp.com"
相關文章
相關標籤/搜索