title: Save value from text area in cookie and then reload page
body: <p>I have some text area and a table which I want to change after key pressed in text area.</p>
  
  <pre><code>$("#fioFilter").keydown(function(e){
      $.cookie("fioFilter",$("#fioFilter").val());
  });
  $("#fioFilter").keyup(function(e){
      window.location.reload();
  });
  </code></pre>
  
  <p>This is my solution. This doesn't works as I want. If I hold key pressed some time it saves in cookies and then reloads. But if I just press one time on key. It reloads and returns old value. What's the problem?
  <a href="http://jsfiddle.net/d6fpfzsu/" rel="nofollow">http://jsfiddle.net/d6fpfzsu/</a></p>