The information in this article applies to:
SYMPTOMSWhen removing items from a <SELECT MULTIPLE> tag, removing more selected items than are viewable at once in the select box causes a GPF. RESOLUTIONCreate a temporary list of the selected elements, deselect all of them, and then remove the elements per the temporary list. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThis is a generic example of the code used in such an instance:
Here is the script code to remove the selected items that causes GPF.
To reproduce the problem, you need to select at least four items in this
sample and then click the "Crash or not" button.The root of the problem is removing the selected items. The workaround is to deselect the items, and save the list of selections in a temporary array. The following is an example of how this might be coded:
REFERENCESFor additional information about issues with Select boxes, please click the article number below to view the article in the Microsoft Knowledge Base: Q237831 PRB: Problem Adding New Option to Select Box in Another Frame in Internet Explorer 5For more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words:
Keywords : kbDHTML kbGrpInet kbIE500bug kbDSupport kbIEFAQ |
Last Reviewed: January 27, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |