Bootstrap File Input Demo

Thankful to Krajee!
to get more out of us.

Asynchronous / Parallel AJAX based uploads with drag and drop functionality. Just set the uploadUrl data property and multiple to true. Note that the file input name attribute for multiple uploads should be setup as a array format. You can modify files selected before upload i.e. append or delete. For this example below, you can read the uploaded files on your server for the input name kartik-input-700.


Code

<div class="file-loading">
    <input id="input-700" name="kartik-input-700[]" type="file" multiple>
</div>

<script>
$(document).on("ready", function() {
    $("#input-700").fileinput({
        uploadUrl: "/file-upload-single/1",
        maxFileCount: 5
    });
});
</script>

Note

You can now visit the Krajee Webtips Q & A forum for searching OR asking questions OR helping programmers with answers on these extensions and plugins. For asking a question click here. Select the appropriate question category (i.e. Krajee Plugins) and choose this current page plugin in the question related to field.

The comments and discussion section below are intended for generic discussions or feedback for this plugin. Developers may not be able to search or lookup here specific questions or tips on usage for this plugin.