title: retrieving saved url in cookie for body background jquery
body: <p>I am trying to retrieve a saved url from a jquery cookie 
  its saving in the cookie but its not retrieving the cookie url</p>
  
  <pre><code>$(document).ready(function() { $("#BGSelector a").click(function() {
      var imgLink = $("img", this).attr("src");
          $.cookie("html_img", "" + imgLink + "", { expires: 7 });
          var imgCookieLink = $.cookie("html_img");
          $("html").css("background", "url('" + imgCookieLink + "')"); }); });
  </code></pre>
  
  <p>thanks to xandy for the jquery script</p>