4 lines
163 B
JavaScript
4 lines
163 B
JavaScript
|
$('.input-file input[type=file]').on('change', function(){
|
||
|
let file = this.files[0];
|
||
|
$(this).closest('.input-file').find('.input-file-text').html(file.name);
|
||
|
});
|