C
cfeldmann
Hi.
I've got a div I insert into a document with script , assigning it an
id with div.setAttribute() so I can grab a reference to it with
getElementById() and manipulate its classname. This works like a charm
in mozilla and safari. In ie5+, the getElementById returns null. I've
made sure the id isn't duplicated and also checked that the div
actually is successfully inserted with the correct id attribute.
Actually, I'm not sure where else to look. Any suggestions?
I've got a div I insert into a document with script , assigning it an
id with div.setAttribute() so I can grab a reference to it with
getElementById() and manipulate its classname. This works like a charm
in mozilla and safari. In ie5+, the getElementById returns null. I've
made sure the id isn't duplicated and also checked that the div
actually is successfully inserted with the correct id attribute.
Actually, I'm not sure where else to look. Any suggestions?