jquery form reset is not a function code example
Example 1: form reset jquery
$('#form_id').trigger("reset");
Example 2: jquery reset form
$('.login-form').trigger("reset");
$('#form_id').trigger("reset");
$('.login-form').trigger("reset");