how to reset form in ajax code example
Example 1: jquery clear form values
$(".reset").click(function() {
$(this).closest('form').find("input[type=text], textarea").val("");
});
Example 2: how to reset form after submit using jquery and ajax
$("#cform")[0].reset();