title: How do I set a cookie to expire after 1 minute or 30 seconds in Jquery?
body: <p>How do i set my cookie to expire after 30 sec or 1 m ? 
  this is my code : </p>
  
  <pre><code>$.cookie('username', username, { expires: 14 });  // expires after 14 days
  </code></pre>