After removing hash from URL using window.location.hash=\'\' page getting reloaded in firefox.
EDIT
Example:
wwww
If I understand correctly,
Some Text
clicking the above link in a browser normally results in an added hash in the address bar, like www.websitename.com#someElementID <- this is what you're looking to prevent, yes?
The solution I just tested which is working and DOES NOT refresh the page is:
event.preventDefault();
This works in a 'click()' event that involves anchor tags that link to elements' id's, such as in the anchor tag example above. In action, it would look like this in your 'click()' event:
Now, clicking on the same link leaves the address bar with the same URL www.websitename.com, WITHOUT the added hash from clicking the anchor.