Delay ajax call on key input in jQuery
<p>I am building an auto-complete like script for text inputs.
In order to avoid multiple unnecessary ajax calls, I would like to initiate ajax calls only after the user stopped typing text for 1 second. That way I will save some overhead calls for every key pressed. How can I achieve this using jQuery?</p>

<p>Thanks,</p>

<p>Joel</p>
