jquery event handler than unbinds itself code example Example: jquery clear click event $( "#foo" ).unbind("click");