Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Can you change a style at runtime?


  • From: javascript@xxxxxxxxxx (Alexander Yap)
  • Subject: [Javascript] Can you change a style at runtime?
  • Date: Thu, 12 Sep 2002 10:27:04 +1000

Hi,

document.getElementById("mydiv").className="theNewClassName";

-- 
Alexander Yap
Melbourne, Australia



On Wed, 11 Sep 2002 21:19, you wrote:
> Hi all.
>
> I'm looking for a way to dynamically change a div's class
> name that will work in both IE6 and NN6. Does anyone
> have any ideas? Thanks much.
>
>
> Brian M.
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript