I see.
I suggest you to use mootools though and inject the whole select in a go.
Look here for reference
http://docs.mootools.net/Native/Element.js
Cheers
Juraj Seffer wrote:
> On 21 Nov 2007 10:26:04 -0000, kujo [EMAIL REMOVED] wrote:
>
>> If I remember right IE cannot handle getElementById straight away, at
>> least IE6 did not, but I might be wrong.
>> This would fix that:
>>
>> if(document.all &&!document.getElementById) {
>> document.getElementById = function(id) {
>> return document.all[id];
>> }
>> }
>>
>> Or you can still use prototype or mootools, in that case
>>
>> document.getElementByID("mysel") will become $('mysel')
>>
>>
>
> Hi,
>
> Actually IE7 (didn't try older versions) handles getElementByID OK as
> I use it with other elements on the page such as divs, inputs to
> change style etc. It is 's innerHTML where IE has a problem.
> Apparently, this issue has been reported back in IE5 and M$ still
> havent fixed it.
>
> This the article I found:
> http://alexle.net/archives/150
>
> Thanks
> Jay
>