Topic awaiting preservation: Remove class with javascript (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
posted 06-06-2005 04:57
I have an element who's class is set to "elementhidden". By default, this element is hidden from view. I'd like to remove this class, rather I'd like to change this class to "elementvisible". How can I do this? |
Paranoid (IV) Inmate From: USA |
posted 06-06-2005 05:54
foo.className = "elementvisible"; |