So I have this problem, which I couldn\'t find, even though I did a thorough websearch.
I am making my portfolio, and the background is a picture of a woman, located in
Here's perfect tested solution:
$(document).ready(function() { $('a.class').hover( function () { $('#portfolio').css('background-image', 'url("other.jpg")'); }, function () { $('#portfolio').css('background-image', 'url("woman.jpg")'); } ); });