im trying to fix the back button for my ajax app.

I add a #hash to the address each time something occurs in my ajax app. When the browser back button is pressed, i want it to notice that the #hash anchor has changed.

In firefox it does, but it wont work in IE

can anyone help me?