trigger reset jquery code example
Example 1: form reset jquery
$('#form_id').trigger("reset");
Example 2: jquery reset form
$('.login-form').trigger("reset");
Example 3: form reset jquery
$('#form').get(0).reset()
Example 4: jquery clear form values
$(".reset").click(function() {
$(this).closest('form').find("input[type=text], textarea").val("");
});
Example 5: jquery don't empty specific form field after submit
form.find('textarea,input,select').not('input[name="INPUT_NAME_1"],input[name="INPUT_NAME_2"]').val('');