How can we get only hash value without query params using javascript/jquery ?
Problem is,
http://www.somedomain.com/me/terms.html#terms - location.hash.substr(1) - terms
http://www.somedomain.com/me/terms.html#terms?queryParam=1 - location.hash.substr(1) - terms?queryParam=1
we can parse the URL and get the hash value but is there any direct/efficient methods available javascript/jquery ?