Please use other solutions for filesects with Bootstrap.
Bootstrap Fileselect is a jQuery plugin, which creates bootstrap-styled form controls for file uploads, also known as file selects or file input fields, and with some kind of validation and translation support.
Please note: The library is deprecated and will not support the next major release of Bootstrap 5.
- jQuery 3
- Bootstrap 4
Download the latest release here and start using it like in the code example below.
<script src="path/to/js/bootstrap-fileselect.js"></script>
<script>
$(function() {
$('input:file').fileselect();
});
</script>
Attention Don't forget to load the jQuery library first.
Check out the demo page for a look and feel and the documentation of the plugin.
- Jonathan Nessier, Neoflow
Bootstrap Fileselect is licensed under MIT.
*Made in Switzerland with 🧀... I mean ❤️