Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't rezise when click back button #20

Closed
untoro opened this issue Jan 9, 2012 · 1 comment
Closed

can't rezise when click back button #20

untoro opened this issue Jan 9, 2012 · 1 comment

Comments

@untoro
Copy link

untoro commented Jan 9, 2012

hi guys,

jquery can't rezise when click browser's back button, (firefox 7)
in debug mode, its return old value.

thanks

@house9
Copy link
Owner

house9 commented Jan 10, 2012

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

@house9 house9 closed this as completed Jan 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants