By mswatcher
via eng.wealthfront.com
Published: Dec 13 2012 / 23:41
Watching users double-click a form button always makes me cringe. Worse: knowing that AJAX is firing with each click. Instead if flooding our server with AJAX requests it would be nice to limit how frequently the click handler runs. Fortunately, libraries like Underscore.js have wonderful functions like throttle and debounce do just that.
Tweet
SaveShareSend
Tags: frameworks, javascript, ria
Add your comment