jQuery Plugin For Selecting Multiple Files - multifile

File Size: 17.6 KB
Views Total: 24808
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Selecting Multiple Files - multifile

multifile is a simple jQuery plugin for creating multiple file inputs which allows to select more than one files from different directories at a time for uploading. For each file there is a close button to delete it from the upload list.

How to use it:

1. Include jQuery library and jQuery multifile on the page

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="jquery.multifile.js"></script>

2. Create a multiple file input

<input id="file_input" type="file" name="files[]">

3. Call the plugin with options

<script type="text/javascript">
jQuery(function($)
    {
      $('#file_input').multifile();
});
</script>

This awesome jQuery plugin is developed by fusionbox. For more Advanced Usages, please check the demo page or visit the official website.