SyntaxFix
Write A Post
Hire A Developer
Questions
I have used following for the same:
<script type="application/javascript"> $('input[type="file"]').change(function(e){ var fileName = e.target.files[0].name; $('.custom-file-label').html(fileName); }); </script>