dynamically add/remove style in javascript

Posted by rod on Stack Overflow See other posts from Stack Overflow or by rod
Published on 2010-04-05T13:26:59Z Indexed on 2010/04/05 15:23 UTC
Read the original article Hit count: 156

Filed under:

Hi All,

Is there a way in any browser to add/remove class names? For example, if I have a div with class names and I just want to remove/add 'name2' is there a way to do that?

Thanks, rodchar

© Stack Overflow or respective owner

Related posts about JavaScript