clear form after click on close in jquery code example Example: jquery clear click event $( "#foo" ).unbind("click");