By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,242 Members | 1,084 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,242 IT Pros & Developers. It's quick & easy.

window.location.reload() with Mozilla & IE

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
DU
Mike Gifford wrote:
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

Try
window.location.reload(false);
http://msdn.microsoft.com/workshop/a...asp?frame=true
http://devedge.netscape.com/library/...n.html#1194198
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:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunc...e7Section.html

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.