Javascript & back button behaviour in Firefox
"Seb Frost" <[email protected]> Fri, 2 Jun 2006 11:58:30 +0100
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/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/