javascript - Disable submit button on file input validation error using krajee file-input plugin -
i using plugins.krajee.com/file-input
, can't find way of disabling upload or submit button of form when validation error occurs minimagewidth
exceeded.
$('.file').fileinput({ language: 'en', showupload: false, allowedfileextensions : ['jpg', 'png','gif'], maxfilesize:1024, minimagewidth:286, minimageheight:322 });
how use $('.file').fileinput('disable');
when image width minimum setting returns validation error?
Comments
Post a Comment