Jquery - tell when the hash changes?

后端 未结 5 959
野趣味
野趣味 2021-01-03 15:29

I\'m trying to make my site respond correctly to the back button. I\'ve saved that hash of what I want it to do, but I don\'t know the hook for jQuery to be able to tell wh

5条回答
  •  有刺的猬
    2021-01-03 15:36

    You should have a look at the solution of Ben Nadel which is in binding events to non-DOM objects.

提交回复
热议问题