SneezeDragon
Programmer
I'd like to execute some JavaScript code when a page is *displayed*, not just after it's loaded. This includes when the user navigates back to it through the history.
I don't want to re-load the page; it needs to stay cached. Unfortunately, the onload event won't work for this, and neither will sticking JS code at the bottom of the page.
Any ideas?
Thanks!
I don't want to re-load the page; it needs to stay cached. Unfortunately, the onload event won't work for this, and neither will sticking JS code at the bottom of the page.
Any ideas?
Thanks!