[Javascript] Inserting a spacer row

Matt Warden mwarden at gmail.com
Fri Apr 8 11:09:02 CDT 2005


Steve,

On Apr 8, 2005 11:57 AM, Steve Clason <stevec at topdogstrategy.com> wrote:
>         newCell.setAttribute("class", "spacer");

Have you tried using newCell.className = 'spacer'; instead? I had a
similar problem with style not applying in IE and it was because I was
using setAttribute() and not the object property equivalent.

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the Javascript mailing list