JS: Get URL and URL Parts

1
2
/**
* Get URL and URL Parts in JavaScript
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Just wanted to share a snippet by Chris Coyier that I've used a million times over and over in all of my projects.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.