wahsaga: InternetExplorer Problem bei Elementzugriff über ID

Beitrag lesen

hi,

Der IE greift AFAIK über getElementById auch auf Elemente mit name-Attribut zu.

Vielleicht wegen
"Note. The id attribute shares the same name space as the name attribute when used for anchor names. "

Ja, eine derart eigenartige Interpretation ist MS durchaus zuzutrauen.

Sie "werben" ja auch fast noch mit dieser Art von Feature:
MSDN: getElementById:
"Returns the first object with the same ID attribute as the specified value.
If the ID value belongs to a collection, the getElementById method returns the first object in the collection."

gruß,
wahsaga

--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }