Reason #627 why I hate IE


If Microsoft isn't going to accurately support the DOM in their web browser, they should consider renaming their functions to what they actually do. After beating my head against an IE problem (which has the worlds worst javascript debugger--motto: "What's a javascript debugger?"), I finally realized that when trying to do a document.getElementById(), if you don't have an element with the ID, but you do have one with the name, it'll try to be helpful and give you the one with the name--even though that one has a different ID.

They should consider renaming the function to getElementByIdOrNameDependingOnWhatIsAvailable().

March 2013

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

About this Entry

This page contains a single entry by Marc published on November 10, 2005 10:43 AM.

Links for 09 Nov 2005 [del.icio.us] was the previous entry in this blog.

Links for 10 Nov 2005 [del.icio.us] is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en