Get current URL with jQuery? satish mallick September 09, 2019 To get the path, you can use: var pathname = window.location.pathname; // Returns path only (/path/example.html) var url = window.... Read More