How To Get the Current URL in Javascript

var pathname = window.location.pathname;
var pathname = window.location.pathname;
Categories: How-To's, Technology Tags: howto, javascript, Location, PathName, tips, URL, window.location
Copyright © 2005-2025 Eric Michael Stone | Random Thoughts, Whims and Fancies…. Powered by WordPress
Leave Your Comment
All fields marked with "*" are required.