title: Call a javascript function after 5 sec of last key press
body: <p>I have a form with an <code>&lt;input type=text /&gt;</code> and I want to call a javascript function after 5 seconds of the last key press, and every time a new key is pressed, this timer should reset and only call the function after 5 seconds.</p>
  
  <p>How can I do this?</p>
  
  <p>I'm using jQuery.</p>
  
  <p>thanks!</p>