The information in this article applies to:
SYMPTOMSThe following HTML statement, when clicked, will navigate to a new URL in Internet Explorer 3.0, but fails to do so in Internet Explorer 4.0:
CAUSEInternet Explorer 4.0 waits until all events from the <A> tag are finished before processing the HREF attribute, so window.location.href will be overwritten by HREF="#". RESOLUTIONHere are three ways to make this tag work as expected in Internet Explorer 4.0. See the "More Information" section for a complete code listing.
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorThe following HTML code demonstrates the problem and the resolutions.
REFERENCESFor more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp For more information about Microsoft Scripting technologies, see the following Web site: http://msdn.microsoft.com/scripting/ Additional query words:
Keywords : kbhtml kbIE400 kbIE401bug kbScript kbIE500 |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |