Overriding IE's getElementById()
There is a well-known bug in the Internet Explorer implementation of the
getElementById() method, which, contrary to the W3C standard, allows the method to return an element even if only the element's
name attribute matches the requested
id. This snippet will easily correct that problem.
- Created by: J. Max Wilson
- Web Site: http://www.sixteensmallstones.org/
- Posted: March 3, 2008
Further details available on the Web site.
Paste this source code into the designated areas.
Paste this code into the
HEAD section of your HTML document.