title: JQuery Cookies: Trying to retrieve a cookie value
body: <p>I am using <a href="https://github.com/carhartl/jquery-cookie" rel="nofollow">Jquery Cookie</a> but am having difficulty setting and retrieving the info.</p>
  
  <p>What I have so far is:</p>
  
  <pre><code> &lt;script type="text/javascript" charset="utf-8" src="js/jquery.cookie.js"&gt;&lt;/script&gt;
       &lt;script type="text/javascript"&gt;
          $(function() {
          var cookiedate = new Date();
          cookiedate.setTime(cookiedate.getTime() + (60 * 60 * 1000));
          $.cookie("mycookie", "checked", { expires: cookiedate, path: '/' });
          console.log(cookiedate);
            alert( $.cookie("mycookie") );
                });
      &lt;/script&gt;
  </code></pre>
  
  <p>But it just isnt working. </p>
  
  <p>Can anyone help me out to find out what I am doing wrong? Thanks!</p>