Siri: IE8 getElementsByName liefert getElementById?

Beitrag lesen

Hallo,

Zumindest *erstaunt* sollte darüber niemand sein, der fähig ist im MSDN nachzuchlagen – http://msdn.microsoft.com/en-us/library/ie/ms536438(v=vs.85).aspx:

“When you use the getElementsByName method, all elements in the document that have the specified NAME attribute or ID attribute value are returned.”

Es wird ja aber NUR das Element mit der ID ausgewählt und nicht beides.

Viele Grüße
Siri