jQuery debounce

$(".my-btn").click($.debounce(250, function(e) {
    console.log("It works!");
}));
Hash'J Programming