R
Roger
Hi,
After installing the IE 6 Cumulative security Update SP1 (KB896727) on
Windows/ME, any javascript "return false" running in an onclick function
fails to stop IE from accessing the next page. For example, I have been
using the following for some time on a home page. The idea is to verify
the user's browser has Javascript enabled before allowing the user to
access a logon page. The NoJavascript.html page has instructions for
turning on Javascript.
<a href="/NoJavascript.html"
onclick="window.location='/Logon';return false;">Logon </a>
A Windows/ME PC using IE 6 with the update now consistently goes to the
NoJavaScript.html page when "Logon" is clicked even though Javascript is
enabled.
Other examples include client-side checking of forms fields. If a
javascript function running from an onclick discovers an error in a
field, presents an alert pop-up error message, and then executes "return
false"; as soon as the user clicks OK to the pop-up message, IE ignores
the return false and accesses the next page rather than allow the user
to corrrect the error and reclick the submit button.
These examples had been working for years and continue to work with IE 6
on Windows/XP and other browsers such as Firefox, Opera, etc on the
Windows/ME PC (and everywhere else).
The only change I can identify that relates to the issue is the KB896727
update. Has anyone else encountered a similar problem and found a solution?
Roger
After installing the IE 6 Cumulative security Update SP1 (KB896727) on
Windows/ME, any javascript "return false" running in an onclick function
fails to stop IE from accessing the next page. For example, I have been
using the following for some time on a home page. The idea is to verify
the user's browser has Javascript enabled before allowing the user to
access a logon page. The NoJavascript.html page has instructions for
turning on Javascript.
<a href="/NoJavascript.html"
onclick="window.location='/Logon';return false;">Logon </a>
A Windows/ME PC using IE 6 with the update now consistently goes to the
NoJavaScript.html page when "Logon" is clicked even though Javascript is
enabled.
Other examples include client-side checking of forms fields. If a
javascript function running from an onclick discovers an error in a
field, presents an alert pop-up error message, and then executes "return
false"; as soon as the user clicks OK to the pop-up message, IE ignores
the return false and accesses the next page rather than allow the user
to corrrect the error and reclick the submit button.
These examples had been working for years and continue to work with IE 6
on Windows/XP and other browsers such as Firefox, Opera, etc on the
Windows/ME PC (and everywhere else).
The only change I can identify that relates to the issue is the KB896727
update. Has anyone else encountered a similar problem and found a solution?
Roger