IE getElementsByName not working in JavaScript
IE's DOM methods getElementsByName and getElementById are not implemented properly.
So document.getElementsByName returns 0 if you don't have attribute id with same value as in attribute name.
- http://www.webdeveloper.com/forum/showthread.php?t=131239
- http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/b3eb3e22-4e91-46be-9b4e-94533d2ec350/
It seems this is fixed in IE8. See demo:


0 Comments:
Post a Comment
<< Home