RE: Javascript & back button behaviour in Firefox
"Seb Frost" <[email protected]> Fri, 2 Jun 2006 12:34:06 +0100
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <[email protected]> |
Found it: http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Seb Frost Sent: 02 June 2006 11:59 To: [email protected] Subject: [wdf-dom] Javascript & back button behaviour in Firefox This sounds like a simple request: I wan't to run some Javascript when a page has loaded, INCLUDING when the user has pressed the back button to get to the page. In IE I have no problem - both the onload event and a <script> block at the bottom of the document fire fine. In firefox, if you navigate to a page by pressing "back" in the browser that page will not fire it's onload event, or execute any script in <script> block at the bottom of the page. Is this normal behaviour, or is something else on my page screwing it up? How would you work around this? cheers Unsubscribe [email protected] List info http://www.quirksmode.org/dom/list.html Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/9rHolB/TM --------------------------------------------------------------------~-> Unsubscribe [email protected] List info http://www.quirksmode.org/dom/list.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wdf-dom/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/