have a look at the validation plugin for jQuery: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Moin Zaman
2010-10-05 19:57:05
have a look at the validation plugin for jQuery: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
You are binding a function to submit, however you still need to call $("#formOne").submit() after you run your validation.
ie:
$("#formOne").submit(function() { // run your validations
if (valid) $(this).submit();
});