hello,
i am using Kendo upload control in a form which has many other controls and on submit click in jquery i Need to validate if any file is selected for upload. If no files selected i should Show message. I am trying this
var upload =$(#files").find('kendoUpload');
var len = upload.closest(".k-upload").find(".k-file").length;
if(len === 0){
alert('please select file');
}
doesnt seem to work.
How can i validate in jquery.
Thanks
Anamika