/ Jquery

jQuery throttle / debounce

jQuery throttle / debounce

Often in an app, I’ve needed to fire off a stack of ajax calls, and could really have used a simple way of bundling them together and ensuring that they’re always called at regular intervals. Ben Alman’s throttle/debounce gives us just that fuctionality- with a wonderfully simple API.