I was wonder if there was a way to change a background image with a button click. The body background for my master page is in my external CSS sheet. I am not sure that this can be done with c#. My css code is like this.
body{
background-image: url(/images/image.jpg)
} 
I have updated my code, however it is not working correctly the image does not stay changed it flickers the new pic for a second but doesnt change it.
$(document).ready(function () {
            $('#Button2').click(function () {
                $('body').css('background-image', 'url(/Image/image.jpg)')
            });
        });
 
     
     
     
    