jQuery(document).ready(function () { $('.custom-file-input').on("change", function () { var fileName = $(this).val().split("\\").pop(); $(this).next('.custom-file-label').html(fileName); }) }); Code above fixed my same issue.