Clear form after submission with jQuery

You can add this to the callback from $.post

$( '#newsletterform' ).each(function(){

You can’t just call $( '#newsletterform' ).reset() because .reset() is a form object and not a jquery object, or something to that effect. You can read more about it here about half way down the page.

Leave a Comment