Microsoft KB Archive/251295: Difference between revisions
(importing KB archive) |
m (Text replacement - "<" to "<") |
||
Line 66: | Line 66: | ||
<div class="indent"> | <div class="indent"> | ||
<BODY bgColor=#ffffff onload="if (isIE()) adjust_stage1();"> | |||
Line 83: | Line 83: | ||
<div class="indent"> | <div class="indent"> | ||
<select name="Field_115" multiple size=3 style="width:200px;"> | |||
Revision as of 09:00, 21 July 2020
Article ID: 251295
Article Last Modified on 5/18/2007
APPLIES TO
- Microsoft Internet Explorer 5.01
- Microsoft Internet Explorer 5.0
- Microsoft Internet Explorer 4.01 Service Pack 1
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Explorer 5.01
- Microsoft Internet Explorer 5.0
- Microsoft Internet Explorer 4.01 Service Pack 2
This article was previously published under Q251295
SYMPTOMS
After you click the Back button in Internet Explorer, select boxes on a Web page may not be displayed or refreshed correctly.
WORKAROUND
To work around this problem, you can use this method on the Web server.
To handle the onload event of the page, call a different function named adjust_stage1. This function uses setTimeout to delay the call to the adjust_stage function just long enough for the rendering of the page to occur.
The code modifications include the following sample code.
Body tag:
<BODY bgColor=#ffffff onload="if (isIE()) adjust_stage1();">
Added to the Script tag:
function adjust_stage1()
{
window.setTimeout("adjust_stage()", 500);
}
You also need to set the width by using a Style tag:
<select name="Field_115" multiple size=3 style="width:200px;">
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
More information about the setTimeout function is available at the following MSDN Web site:
Keywords: kbprogramming kbprb kbdisplay KB251295