Internet Explorer’s Javascript Engine Pollutes the Global Namespace
IE pollutes the global namespace with all of the ids and names from any form elements in the document. If you happen to have an id called parent_id and a Javascript variable called parent_id, your scripts will not run as expected.
It’s a good habit to declare variables with var in Javascript, but still, it’s annoying that IE does this.
1 Comment »
The URI to TrackBack this entry is: http://www.jwinter.org/log/archives/2004/07/10/internet-explorers-javascript-engine-pollutes-the-global-namespace/trackback/
RSS feed for comments on this post.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Please visit the sites dedicated to bad credit home loan california
…
Comment by house loans — 4/14/2005 @ 8:30 am