Select the product you need help with
BUG: OnChange Event of <SELECT> Fires Incorrectly in a FRAME When Refreshed ProgrammaticallyArticle ID: 319741 - View products that this article applies to. This article was previously published under Q319741 On This PageSYMPTOMS
If you have a FRAMESET object with a FRAME that contains a SELECT control and an INPUT TYPE=TEXT or TEXTAREA control, and the OnChange event of the TEXTAREA control reloads the page, the OnChange event of the SELECT may fire after the page reloads. This behavior may occur even if you do not select a new item from the SELECT control.
CAUSE
This is a regression from Internet Explorer 5.5.
RESOLUTION
To work around this problem, you can use one of the following methods. The method you use depends on the usage of the elements in your application.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
The problem that is described in the "Symptoms" section of this article may also apply to other events of the SELECT element, such as the onbeforeactivate event. The problem occurs if an unload is triggered from an event of an object that fires when the event loses focus (OnChange event, onblur event).
Steps to Reproduce the Behavior
REFERENCES
For more information, visit the following MSDN Web sites:
SELECT Element | select Object http://msdn.microsoft.com/en-us/library/ms535893(VS.85).aspx
(http://msdn.microsoft.com/en-us/library/ms535893(VS.85).aspx)
onbeforedeactivate Event http://msdn.microsoft.com/en-us/library/ms536903(VS.85).aspx
(http://msdn.microsoft.com/en-us/library/ms536903(VS.85).aspx)
onchange Event http://msdn.microsoft.com/en-us/library/ms536912(VS.85).aspx
(http://msdn.microsoft.com/en-us/library/ms536912(VS.85).aspx)
PropertiesArticle ID: 319741 - Last Review: November 29, 2007 - Revision: 7.2
|


Back to the top








