using href to reset form data code example Example: jquery reset form $('.login-form').trigger("reset");