replace event listener jquery code example Example: jquery clear click event $( "#foo" ).unbind("click");