how to empty form fields value in jquery code example
Example 1: empty the value of an input in jquery
$('#field').val('');
Example 2: jquery empty all forms
$("#register").trigger("reset");
$('#field').val('');
$("#register").trigger("reset");