hi i am implementing a live search (=search as you type) feature in my webapp. currently i am using the keyup event to send the search request via ajax post e.g.
$('#SearchField').keyup(function(e) {
$.post(
...
);
});
but this leads to some kind of lag problem, in some cases when i search, for example after "problem", the response for "pro" shows up way after the response for "problem" and overwrites the correct search result with a way to big result.
what would be a good approach to combat this behavior?
tia