Re: Change MultipleFilesUpload on-the-fly

  •  06-30-2011, 8:38 PM

    Re: Change MultipleFilesUpload on-the-fly

    Hi smcleod,
     
    Please add the javascript code below to your page and test again
     
     
    1. function CuteWebUI_AjaxUploader_OnSelect(files)  
    2.      {  
    3.         if(files.length>1)  
    4.         {  
    5.             alert("you can only select one file");  
    6.             return false;  
    7.         }  
    8.         return true;  
    9.      }  
     
    If you want to limit the file count, you can use a client tag such as input to mark the total selected files
    if the count is greater than the number you defined,
    please return false 
     
     
    Regards,
    Jeff 
View Complete Thread