ChrisB: IE8 getElementsByName liefert getElementById?

Beitrag lesen

Hi,

das nachfolgende Script zeigt im IE8 beim "alert"

listdiv4||fd7

an. Versteht das jemand?

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.”

MfG ChrisB

--
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?