Scenario: after every key press in a form field, call a function on
the server using Ajax and return a result.
Problem: sometimes results are returned out of order, depending on how
long the database query takes. For example, results may show up based
on the fourth key press that are immediately replaced by the result of
the third key press, which was a bit slower to get sent back to the
browser. I am using the load function.

I want to either abort all previously running Ajax requests or force
the requests to return in the order that they were called. What is the
best way to accomplish this?

Thank you,
Mike

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to