Posted by Michael Winter on 10/01/05 17:57
On 30/09/2005 22:21, Jim Higson wrote:
[snip]
> logoDiv.setAttribute( 'class', logoDiv.getAttribute('class')
> + ' forceimportantstuff' );
>
> Of course, you'll have to deal with the class/className
> confusion IE has.
Which is why it is often simpler to avoid the *Attribute methods and use
the property shortcuts.
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Navigation:
[Reply to this message]
|