I\'ve inherited a project I\'m working on and I\'m updating some jquery animations (very little practice with jquery).
I have a div I need to add and remove the style at
The easy way to handle this (and best HTML solution to boot) is to set up classes that have the styles you want to use. Then it's a simple matter of using addClass() and removeClass(), or even toggleClass().
$('#voltaic_holder').addClass('shiny').removeClass('dull');
or even
$('#voltaic_holder').toggleClass('shiny dull');