How to get current url path in javascript? · var pathname = window.location.pathname; · // Returns path only : "check-path-example".
確定! 回上一頁