I'm using this:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
// Set the URL to whatever it was plus "#".
url = document.URL+"#";
location = "#";
//Reload the page
...and it doesn't seem to work.
What's happening is I've got a search function that redirects the user to a page that's fairly lone. Embedded within the URL is a "#" followed by an id number that, theoretically, moves the page down to the precise location of the person they were searching for.
As an aside, I've been warned that "#" tags only work when you're on that page. That being the case, my "workaround" is to refresh the page as soon as it loads.
Which brings us to the code that I've attempted to use with no result. What am I doing wrong or is there a better solution?