Is there a way to seperate a hashchange that occurs after a
window.location.hash = ‘x’
from the one that occurs after clicking the backbutton?
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.
Right now, in Internet Explorer 8, Firefox 3.6+, and Chrome 5+, you can bind callbacks to the window.onhashchange event and use it without any kind of plugin.
For those Browsers does NOT support onhashchange, you can use Jquery plugin
http://plugins.jquery.com/project/hashchange