开发者

HTML5 - Multiple input field: file limit?

开发者 https://www.devze.com 2023-03-02 17:25 出处:网络
Im using the HTML 5 input element with the multiple option set to true: <input type=\"file\" id=\"input\" multiple=\"true\" on开发者_高级运维change=\"handleFiles(this.files)\">

Im using the HTML 5 input element with the multiple option set to true:

<input type="file" id="input" multiple="true" on开发者_高级运维change="handleFiles(this.files)">

This works, but when I use it to select more then 388 images, the file name box stays empty and the code doesn't work. If I select less then 388 images, I can run my code. Is there some kind of limit on the number of files you can select? I tried to run the mozilla drag and drob application: http://demos.hacks.mozilla.org/openweb/DnD/ with 456 files, and this works perfect. But I would also like to have a simple browse button which allows me to select all the files I want. Any idea is highly appreciated!

Thanks,


set server's upload_max_filesize, post_max_size, memory_limit, ...

0

精彩评论

暂无评论...
验证码 换一张
取 消