Could anyone please explain the following oddity ?
Following advice on this forum, I used DOM (there *are* many other ways to do it, but let's please focus on DOM). So, it's something like:
Now, this works pretty fast on firefox (takes less than 2 seconds on my machine), but it's very slow on IE6 (about 5-6 seconds). The weird thing is, I *can* speed up IE6, if I append the options into a nested <optgroup> instead of directly into a <select> box Namely, IE6 runs pretty fast if I add my options into something like: <select> <optgroup label='something' id='myGroup'> </optgroup> </select>
Could anyone please explain why <optgroup> makes such a difference in IE6 performance ?