Is it possible to kill the previous ajax request?
We have tabular data very adjacent to each other. In the mouseover event of each of the data, we make a request to our server using the jQuery Ajax object and show a popup.
But, as we often move the mouse to other table contents, previous Ajax responses are displayed in pop-ups before the exact answer that is intended for that table content is displayed.
I need when a new Ajax request is generated, the previous request / response must be killed, so that the always expected last response is available inside the popup.
I use jQuery, PHP and Mysql to query the server.
source share