can't rezise when click back button
Closed this issue · 1 comments
untoro commented
hi guys,
jquery can't rezise when click browser's back button, (firefox 7)
in debug mode, its return old value.
thanks
house9 commented
by default firefox is not going to evaluate the javascript when using the back button, you can test this by doing something like
alert('test');
</script>```
on a page with a link, when the page loads you will see the alert, click the link and then use the back button, you won't see the alert - strange thing is google chrome seems to work ok?
you could set up no cache headers on your pages which should force the browser to re-fetch the page when someone uses the back button and that would fire the javascript, there maybe other alternatives I am unaware of