title: jQuery - css("background-image", variable) doesn't work :(
body: <p>I'm trying to save the background-image of a element, remove it and then maybe add it back later.</p>
  
  <pre><code>var current_bg_image = $("#div").css("background-image");
  if(something){
    $("#div").css("background-image", "none");
  }else{
    $("#div").css("background-image", current_bg_image); // not working...
  }
  </code></pre>
  
  <p>The part where the background image is supposed to be added back doesn't work...
  But if I change <code>current_bg_image</code> with <code>"url(something.jpg)"</code> it works. It seems that css() doesn't work with variables?</p>