if I select multiple files, can I know how many files I have selected?

Last post 02-16-2012, 12:22 AM by manpakhong. 2 replies.
Sort Posts: Previous Next
  •  02-15-2012, 4:07 AM 73027

    if I select multiple files, can I know how many files I have selected?

    Dear Experts,
     
    If I use php file uploader, if $uploader->MultipleFilesUload=true, does the $uploader has property of showing how many files I have selected?
     
    Regards,
     
    Man Pak Hong, Dave
    manpakhong

    Man Pak Hong, Dave
  •  02-15-2012, 6:17 AM 73029 in reply to 73027

    Re: if I select multiple files, can I know how many files I have selected?

    Hi manpakhong,
     
    You can get the select files count by API CuteWebUI_AjaxUploader_OnSelect, it is the javascript function.
     

    function CuteWebUI_AjaxUploader_OnSelect(files)

    {

        alert(files.length);

    }

     
    Regards,
     
    Ken 
  •  02-16-2012, 12:22 AM 73037 in reply to 73029

    Re: if I select multiple files, can I know how many files I have selected?

    Dear Ken,
     
    You are so kind, thanks for your great help.
     
    Regards,
     
    Man Pak Hong, Dave
     
    manpakhong

    Man Pak Hong, Dave
View as RSS news feed in XML