40
rated 0 times
[
44]
[
4]
/ answers: 1 / hits: 35188
/ 13 Years ago, fri, february 24, 2012, 12:00:00
Possible Duplicate:
Throttle event calls in jQuery
I like the .change() functionality of jQuery, but I'd like to prevent triggering a ton of AJAX requests when a user quickly changes options in a select drop down. As an example, when a user uses a mouse scroll wheel, it will trigger each options as they pick their new option.
I'd like to come up with a good clean way to handle only sending these updates once the user stops updating the select dropdown a second.
Is there a neat way of handling this situation?
More From » jquery