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