click event fires after two clicks javascript code example Example: i get two times event click of button javascript $(".bet").unbind().click(function() { //Stuff });