Javascript getElementsByName() Not Supported In IE6

Cross browser issues are a pain in the butt. And I just found out that the getElementsByname() function doesn’t work in IE6. It works fine in Firefox, Google Chrome and later versions of IE but you will have no luck in IE6. Whatever you want to do using that function, if you want to take IE6 into consideration, then you will have to do other workarounds to make what you want to work. I wonder why until now they did not introduce a getElementsById() function …

Related Posts Plugin for WordPress, Blogger...


  1. getElementsById() has no sens because an ID must be unique (see w3c). So it’s logical to have only a getElementById() function.

    PS: I hate IE6!

Leave a Reply

Your email address will not be published. Required fields are marked *