Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery form validation plugin callback function

$(".selector").validate({
    invalidHandler: function(form, validator) {
        var errors = validator.numberOfInvalids();
        if (errors) {
            //resize code goes here
        }
    }
})
 
PREVIOUS NEXT
Tagged: #jquery #form #validation #plugin #callback #function
ADD COMMENT
Topic
Name
1+6 =