8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
$(document).ready(function () {
|
|
$('.input-file input[type=file]').on('change', function () {
|
|
let file = this.files[0];
|
|
$(this).next().html(file.name);
|
|
});
|
|
});
|
|
|