473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

disabling 'refresh alert' in ie

Does anyone know a way to disable the 'refresh alert' windown that pops up
in ie
when document.location.reload() is used on a page that has post data?

In thecontext I'm using reload() this message is definitely not required
and tends to worry the user.
In fact it makes no difference whether the user chooses 'Retry' or 'Cancel'
,
but simply being presented with an official looking pop-up and what looks
like an important decision
is off-putting.

Firefox doesn't seem to feel the need to fire this alert.

Jan 19 '07 #1
2 2866
If you have the data from the submitted form, may be you can do that as a
submit
with hidden input fields, instead of a reload. That way the data gets
submitted
like a regular form.

Tom
--
Thanks, but I'm not sure what you mean. The reload() was only really a work
around
for hiding a lot of select boxes that refuse to go away when a container's
visibility is set to 'hidden'.
(its a well known 'feature' of ie) - that is, a reload or refresh of the
page gets rid of the mess created when the
containers are set to 'hidden' leaving a random collection of ghost select
boxes. I was trying to find a
simple way to automatically 'clean up' the page - without asking the user to
hit 'refresh' - unfortunately I just
moved the problem to a different place. Instead of the user being presented
with an ugly mess of half hidden select boxes
they get a puzzling request alert which on balance is only slightly
better...
Jan 20 '07 #2
VK

Chamomile wrote:
Thanks, but I'm not sure what you mean. The reload() was only really a work
around
for hiding a lot of select boxes that refuse to go away when a container's
visibility is set to 'hidden'.
(its a well known 'feature' of ie)
With my 10 years experience I failed to meet such IE feature yet. I'm
well aware of "super z" (a.k.a. "firing through") effect for form
controls on IE before IE7 but it doesn't sound like what you are
describing. Can you port a sample for a publicly accessible link? What
IE version are you working with?
that is, a reload or refresh of the
page gets rid of the mess created
With form method="POST" (and this is what you have) hitting Reload
means "resubmit form to get the response formed the current page".
Respectively navigating back means "get me the page resulted from
submitting that form". So besides confusing visitors you are creating
needless load on your server. Both actions and warnings for them are
regulated by special settings in Tools Internet Options so they are
out of your runtime control.

You may change form method to GET, but IMO as a page layout failure the
problem should be cured by correcting the layout, not by twisting the
transaction process.

Again - a link would be most helpful.

Jan 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mark | last post by:
I have a working PHP/MySQL application used for data entry. The data entry screen includes a "Save" button. The PHP code for this button looks like this: if (isset($_POST)) { if ($_POST ==...
1
by: baggy | last post by:
Hi, I have a situation where I need to be able to refresh a windows parent parent. I can not seem to use anything like window.opener.parent.location.reload() as by the time I execute the...
6
by: emmajoh | last post by:
Hi I'm trying to disable IE contextmenu (on a right click) as I want to create my own. The problem is that since I've installed the latest version of the google desktop, the script doesn't...
16
by: David Cox | last post by:
I click on "view source" on this site and nothing seems to happen. http://www.gm.tv/index.cfm?articleid=24657 Anybody know how it is done? I was trying to get a link to the Nuala clip...
2
by: ajain1 | last post by:
Folks, I want to refresh my child window after a particular interval of time, its working with the following code, but after getting refresh its always forward me on first URL not on the current...
20
by: Geoff Cox | last post by:
Hello, I am not at clear how to tackle this one. Say the note middle C is played, just once. Then when the user clicks on a play image a series of notes are played starting with middle C...
2
by: malcster2 | last post by:
hello, i am a beginner to ajax. i have created a mysql database, which i would like to access from a web page. i have created 3 files, a html to display the data, a php file to extract the data,...
1
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
4
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.