Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var form = $("#register_form");
- form.validate().resetForm(); // clear out the validation errors
- form[0].reset(); // clear out the form data
- -------------------------------------------------------
- $("#register_form").validate().resetForm();
- -------------------------------------------------------
- var validator = $( "#myform" ).validate();
- validator.resetForm();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement