FIX: Index Parameter for the Add Method Behaves Differently for Options and Areas Collections (208534)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
This article was previously published under Q208534 SYMPTOMS
The options and areas collections are both 0-based collections; however, in Internet Explorer 4.x, the Add methods of these collections behave differently. This may cause compatibility issues.
CAUSE
In Internet Explorer 4.x, the Add method uses a 1-based index for the areas collection but a 0-based index for the options collection.
RESOLUTION
To resolve this problem, upgrade to Internet Explorer 5, in which both collections use a 0-based index.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Internet Explorer 5. 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 kbDHTML kbfix kbie500fix KB208534 |
---|
|