jquery check all elements form is empty code example Example: jquery empty all forms $("#register").trigger("reset");