Not asking how to abort AJAX.
In this case, does anyone know how to prevent the server from transmitting?
For example, in dynamic pagination, a user may scroll 1 line at a time rapidly, causing many requests.
This can easily be cancelled on client-side jQuery with abort
, but for those of us pinching pennies on bandwidth allocation, how can we keep the previous requests from transmitting when a new one has been received?
Many thanks in advance!
Specifics
Actually, it's because I'm using the jQuery UI Slider, and I've set the slide
event to hit the server.
As you might expect, if you slide that sucker 10% across, the server's just been hit like crazy and is still transmitting all that data even though I've abort
ed.
That's the true source of the problem since just hitting the up or down button fast probably (in my mind) can't be stopped.