jquery code to reset a form 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");