re initlize form on button click code example Example: jquery reset form $('.login-form').trigger("reset");