how to reset form content after submit in jquery code example
Example 1: jquery reset form
$('.login-form').trigger("reset");
Example 2: how to reset form after submit using jquery and ajax
$("#cform")[0].reset();
$('.login-form').trigger("reset");
$("#cform")[0].reset();