jQuery AJAX Calls - Is it possible to cancel unwanted calls?
<p>I just wanted to ask. I have text input to allow users to type their city.</p>

<p>jQuery has a <code>keyup</code> event linked to this input and sent an AJAX call after each character change.</p>

<p>I find however many unrequired AJAX calls are sent as the person is typing and depending on the number of results this can slow down performance here.</p>

<p>Is there a way to cancel AJAX calls if a new call is made? Is there a better way to do this?</p>

<p>An example can be seen here: <a href="http://www.datingjapan.co" rel="nofollow">www.datingjapan.co</a> </p>
