I am trying to use jQuery to respond to changes in the url after the #. I've done some searching, but I don't think I'm using the right search terms.
To be ...
What is the correct way to pull out just the path from a URL using JavaScript?
Example:
I have URL http://www.somedomain.com/account/search?filter=a#top
but I would just like to get this portion /account/search
I am using jQuery ...