jQuery .keyup() delay
<p>I've got a search field.</p>

<p>Right now it searches for every keyup. So if someone types Windows, it will make a search with AJAX for every keypress: W, Wi, Win, Wind, Windo, Window, Windows.</p>

<p>I want to have a delay, so it only searches when the user stops typing for 200 ms.</p>

<p>There is no option for this in the keyup function, and I have tried <code>setTimeout</code>, but it didn't work.</p>

<p>How can I do that?</p>
