title: jQuery hide div popup for lifetime browser cookie
body: <p>I currently use the following code to hide a specific element on my page after 5 seconds. But when refreshing the page, the element popups again.</p>
  
  <p>How can I extend my code, so that it will be hidden for lifetime (or when browser cache cleared)</p>
  
  <p>CODE:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      setTimeout(function() {
    $('#data-popup-box-container').fadeOut('fast');
  }, 5000);   
  &lt;/script&gt;
  </code></pre>