BUG: Internet Explorer Stops Responding When You Dynamically Insert Table That Contains <Input Type="Button"> (298974)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.5
- Microsoft Internet Explorer (Programming) 6.0
This article was previously published under Q298974 SYMPTOMS
Internet Explorer generates an access violation and stops responding (crashes) when you dynamically insert a table that contains the following
into a Web page by updating the innerHTML of a div.
CAUSE
This behavior can occur if a mouse event is pending and you wipe out the control that initiated the mouse event before the mouse event returns.
RESOLUTIONWorkaround 1
Instead of redrawing the entire table every time, insert a single row at a time into the existing table. To do this, use the insertRow() and insertCell() methods.
Workaround 2
Replace
with the following tag:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbbug kbIE550preSP2fix kbnofix KB298974 |
---|
|