Today's case in point? Javascripts getElementsByName function. The documentation says that it returns all DOM objects with the name given. So if you said something like:
var verisons = document.getElementsByName('Mike');
It should return to you all the elements on the page that have the name attribute set to Mike. In fact, this is exactly what Firefox does (I can only speak for FF and IE because I dont' have/use Safari, Opera or Chrome). What does IE return? Every element who's ID attribute is 'Mike'. Why?! That's what getElementById does!!! Learn to actually read your own flippin documentation!!!!!!!
God, I hate IE!

No comments:
Post a Comment