On loading module got JS error in jquery validator -
i using jquery form validation library
and need validate file input that. code follows:
$.validate({ form : '#form', modules : 'file', validateonblur : false, bordercoloronerror : 'red', inputparentclassonerror : 'error', scrolltotoponerror: false, errormessageclass: 'text-error', onerror : function() { }, onsuccess: function($form) { // input button disabled if form contains backend validations $form.find('input[type="submit"]').unbind('click'); return true; } });
the problem when try load module file gives me js error
typeerror: a.formutils undefined" in file.js
i unable find out problem is.
any highly appreciated! thankyou.
Comments
Post a Comment