Skip to content

Instantly share code, notes, and snippets.

@phantom42
Last active December 11, 2015 19:49
Show Gist options
  • Save phantom42/4651183 to your computer and use it in GitHub Desktop.
Save phantom42/4651183 to your computer and use it in GitHub Desktop.
jquery to reset form
$("#clear").click(function(e){
$('#contactForm')[0].reset();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment