I’m trying to get the hash parameters from an url with javascript. The strange thing is that the hash parameter is always empty (“”). i have tried many variations of code but it’s always empty.
location.hash
Example url
file:///F:/wwwroot/Default.htm#Name=front
What is it I’m missing?
Ok i found the answer, the javascript code was called on from inside a iframe and appertly they act just like a separate html page. I used this code to solve it.