Validation problem
Validation problem
I have found this excellent validation plugin:
http://bassistance.de/jquery-plugins/jq ... alidation/
After the form has been validated I want to run a function, and if that function returns true I want to submit the form.
I have added a custom submitHandler:
-
$.validator.setDefaults({
submitHandler: function() {
check();
}
});
In my check() function I have
-
$('#theForm').submit()
But the form is never submitted. Any ideas?