Wednesday, April 1, 2009

I hate you IE. I hate your guts with the fire of a thousand suns

I've been working professionally for 8 years now. I've been a programmer for 14. And nothing, NOTHING!, pisses me off more than Microsoft's Internet Explorer. Seriously don't use it.

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: