I have this code :
if (pansel.val() == "1")
$(#myDiv).css('background-image', 'url(/private_images/guida_check_category.jpg)');
else
$(#myDiv).css({ 'background-color': '#ffffff' });
and I see that, when I apply the background-image, the follow code :
$(#myDiv).css({ 'background-color': '#ffffff' });
doesnt remove the image and put the white background color. The image still present!
How can I totally remove that background-image attribute?