|
HTML DOM Attributes Thursday, May 11, 2006
Ok, to start with this post is just dumb but, I just wanted to add a snippet.
0 Comments:This reference brought up an issue I had dealt with before when creating DOM nodes in IE. Trying to set the css class with node.setAttribute("class",className); basically does nothing while working on every other browser. The Chris' solution is to use a loop to find the attribute node and set the value. I think mine might be a bit less complex: Update, an even easier way to set the css class: was posted by Chris Gillis <willCode4Beer/> posted at 11:53 AM permalink
|
Contributors
Under the Wheel
Parsing currency into a BigDecimal emulated by a synthetic accessor method Write once debug everywhere... Breaking into entry-level Web Development
Behind the Wheel
|
