Hello folks,

I am using the ajaxForm plugin in combo with Jörn's validation plugin.

The relevant code is below - it is called from $(document).ready(function() and it works - except for one thing. I need to click on the submit button twice in order for the validation/submit to be fired.

What am I missing here?

Thanks

Bruce



$("#cform").validate({
errorContainer: errors,
errorLabelContainer: $('ol', errors),
wrapper: 'li',
submitHandler: function(form) {
$("#cform").ajaxForm(options);
} 

Reply via email to