title: keyup(function()) ajax request delay - jQuery
body: <p>I have a jQuery Ajax request, that I want to call with text input, and so I nested it inside <code>keyup(function()</code>. This works fine.</p>
  
  <pre><code>$("#text_box").keyup(function() {
   //AJAX REQUEST
  });
  </code></pre>
  
  <p>But this behaves buggy sometimes. When I input some text very fast, I am getting results for input word with some last letters of the original input word omitted (may be some fault with browser). I want the ajax request to be sent when there is no input activity for a second, I mean, if I input text very fast and rest for a second (means I made the input). How can I do this?</p>