I am new to jQuery.
Working with the jQuery and cufon validation plugin at the same time gives me a very difficult time.
Basically, I want to detect an event as soon as jQuery Validation does what it needs to do and calls Cufon.refresh () right after it.
$('#commentForm').validate({ rules: { password: { required: true, minlength: 8, maxlength: 8, number: true }, } });
We expect <label class="error"> SOME TEXT </label> when the form is invalid.
And once this is created, I want Cufon.refresh () on this shortcut created by jQuery Validation. How to determine when jQuery validation is being performed and call something based on this event?
Any help is greatly appreciated. Sincerely, Peter
Iladarsda
source share