4
I’m changing CSS with jQuery and need to remove the style I added:
if(cor != 'ffffff') $("body").css("background-color", cor); else // remover style ?
The line above runs whenever a color is selected using a color selector, when the mouse moves over a color wheel.
I cannot do this with css, with "background-color", "None" because it will remove the default style of css files. I just want to remove the inline style of background color added by jQuery.
jQuery removeAttr() Method
– Marconi