vinnizworld
11/12/2013 - 7:31 AM

From http://stackoverflow.com/questions/7373023/throttle-event-calls-in-jquery

$('#search').keyup($.debounce(function() {
    // Will only execute 300ms after the last keypress.
}, 300));