Reputation: 27
How to select multiple files at a time with individual close buttons?
using jquery.MultiFile.js and jquery.MetaData.js
Thanks in advance.
Upvotes: 0
Views: 782
Reputation: 186
Use the accept if you only want files of a certain extension to be selected Separate valid extensions with a "|", like this: "jpg|gif|png". Server-side validation is always required.
<input type="file" class="multi" accept="gif|jpg" maxsize="20000" maxfile="5000" />
// limit total pay load size, for total size of all files
maxsize
// limit individual file size
maxfile
// size options are accepted in kylobytes
Upvotes: 1