RE: Javascript & back button behaviour in Firefox

"Lon Boonen" <[email protected]> Fri, 2 Jun 2006 18:27:48 +0200
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
make sure you attach an onunload method, that will disable FF's cache.

________________________________

From: [email protected] on behalf of Seb Frost
Sent: Fri 02/06/2006 12:58
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










[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/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/