Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / November 2004



Tip: Looking for answers? Try searching our database.

change the class at runtime

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eitan - 21 Nov 2004 17:04 GMT
Hello,
How can I change the class of an object, I am creating on runtime ?
(I am creating a tableCell on runtime).
c is a tableCell.
c.class = " ...." doesn't work.
c.setAttribute("class", "my_class") doesn't work !

Thanks :)
Bob Barrows [MVP] - 21 Nov 2004 22:44 GMT
> Hello,
> How can I change the class of an object, I am creating on runtime ?
[quoted text clipped - 4 lines]
>
> Thanks :)
The property is called className, IIRC. Look it up at
msdn.microsoft.com/library to verify my recollection.

Bob Barrows
Signature

Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.