OK so whenever I want to change my URL with hash, I do this:
window.location.hash = 'something';
But I have a question. Is it just me or does the page load again?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It should not reload, and if it does reload, then you might be using IE.
It appears to be a
bugin IE and you might want to try this:This works on IE7. (Tried on IE9 using IE7 standard.)