How can I get url with content after hash ?
window.location return me url without hash :/
for example:
www.mystore.com#prodid=1
window.location return only www.mystore.com
How can I get url with content after hash ?
window.location return me url without hash :/
for example:
www.mystore.com#prodid=1
window.location return only www.mystore.com
window.location.hash
https://developer.mozilla.org/docs/Web/API/Window/location
Note the properties section.
this returns just content after hash
window.location.hash.substr(1);
ex: www.mystore.com#prodid=1
this will give us : prodid=1