I currently have a DIV with a background image set as follows:
background: url(../images/site/common/body-bannar-bkground.png) repeat 0 0;
How can I remove this image and set a background-color only:
background-color: #C1A3A5
I know I can use JQUERY To set the new color like this
$('div#id').css('backgroundColor', '#C1A3A5');
but when I do this the background image is still in place. How can I knockout the background image? I also need to do this in reverse so how can I knock out the background-color?
Finally - would I be better to addClass() removeClass with the attributes set there or is basically the same factor?
thx