79523663

Date: 2025-03-20 17:16:37
Score: 1
Natty:
Report link
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.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pradeep Patra