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