have to click a button 2 times js code example Example: i get two times event click of button javascript $(".bet").unbind().click(function() { //Stuff });