Wiki source for JavascriptExceptions
=====Javascript and DOM Exceptions, Anomalies, and Aggravations=====
This is a list of some of the obscure -- and perhaps not-so-obscure -- things I've noticed in working with javascript and DOM that are either bugs or contrary to my expectations.
====Javascript====
====DOM====
**class attribute set by DOM not recognized**
**environment** IE
**description** well described at [[http://blogs.gsl.com/dougclinton/2006/10/02/setting-the-css-class-name-on-dom-elements-created-in-javascript/ blogs.gsl.com/dougclinton/]]
**solution** domNode.className = "classname"; or [[http://mykenta.blogspot.com/2006/07/standardise-ie-setattribute-part-2.html see this]]
====Other References====
[[http://centricle.com/ref/css/filters/ CSS Filters by Browser]] (centricle.com)
----
CategoryJavascript
This is a list of some of the obscure -- and perhaps not-so-obscure -- things I've noticed in working with javascript and DOM that are either bugs or contrary to my expectations.
====Javascript====
====DOM====
**class attribute set by DOM not recognized**
**environment** IE
**description** well described at [[http://blogs.gsl.com/dougclinton/2006/10/02/setting-the-css-class-name-on-dom-elements-created-in-javascript/ blogs.gsl.com/dougclinton/]]
**solution** domNode.className = "classname"; or [[http://mykenta.blogspot.com/2006/07/standardise-ie-setattribute-part-2.html see this]]
====Other References====
[[http://centricle.com/ref/css/filters/ CSS Filters by Browser]] (centricle.com)
----
CategoryJavascript