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 …

No TweetBacks yet. (Be the first to Tweet this post)

Found this post useful? Buy me a cup of coffee or help support the sponsors on the right.


(No Ratings Yet)
 Loading ...

tags:

2 Responses to “Javascript getElementsByName() Not Supported In IE6”

  1. 1
    Dul Says:

    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!

  2. 2
    tech Says:

    yes. you are right. good point.

Leave a Reply