How to upload multiple files using one file input element

后端 未结 3 1029
半阙折子戏
半阙折子戏 2020-12-04 15:47

I\'m trying to use one file input element to upload multiple files to Drive using html form. This seems to work only for one file, although the file picker allows selecting

3条回答
  •  天涯浪人
    2020-12-04 16:48

    The multiple file select in the dialog when you click on the browse button of the file field happens only for the new browsers supporting HTML5. It wont allow multiple select for old browsers. For older browsers the only good solutions are flash or javascript plugins. Here is a good resource for jquery uploaders ( some support multiple files ): http://creativefan.com/10-ajax-jquery-file-uploaders/. Hence my suggestion is use some plugin so that its supported on old as well as the new browsers.

提交回复
热议问题