window.location.reload() with Mozilla & IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Gifford

    #1

    window.location.reload() with Mozilla & IE

    Hello,

    I'm right now using
    window.location .reload()

    to refresh the browser. It behaves as I would want in Mozilla/Netscape,
    but not in IE.

    I want to refresh a form, but keep the cached content as it has been
    filled out be the user.

    This works fine in Mozilla (keeping modified data), but just reloads the whole page (fields &
    all) from the server in IE.

    How do I get IE to preserve the data in the form, just pull down
    everything else?

    Thanks!

    Mike
  • DU

    #2
    Re: window.location .reload() with Mozilla & IE

    Mike Gifford wrote:[color=blue]
    > Hello,
    >
    > I'm right now using
    > window.location .reload()
    >
    > to refresh the browser. It behaves as I would want in Mozilla/Netscape,
    > but not in IE.
    >
    > I want to refresh a form, but keep the cached content as it has been
    > filled out be the user.
    >
    > This works fine in Mozilla (keeping modified data), but just reloads the whole page (fields &
    > all) from the server in IE.
    >
    > How do I get IE to preserve the data in the form, just pull down
    > everything else?
    >
    > Thanks!
    >
    > Mike[/color]


    Try
    window.location .reload(false);
    http://msdn.microsoft.com/workshop/a...asp?frame=true

    False is supposed to be the default value... so it should have worked
    the way you coded it.
    You may need to search google for tutorial, articles on cache. Best is
    to start searching this newsgroup archives as I'm sure this was
    discussed before.

    DU
    --
    Javascript and Browser bugs:

    - Resources, help and tips for Netscape 7.x users and Composer
    - Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x


    Comment

    Working...