title: How to trigger an onkeyup event that's delayed until a user pauses their typing?
body: <p>I have a textarea where people enter some text (naturally), and I want to make it so that an AJAX request is made every now and then to get some suggestions regarding what the textarea is about (like stack overflow's Related Questions, but for a textarea, not a text input). The problem is that I can't do an AJAX request at every keypress (it'd be useless and very resource consuming), and I am not sure what would be the most efficient way to do it (every X words? every X seconds? or something else?).</p>
  
  <p>What would be the best way to go about doing this?</p>
  
  <p>Thank you in advance.</p>