/ Question & Réponse / How to display file name for custom styled input file using jquery How to display file name for custom styled input file using jquery Jquery Développement Front-end //HTML Upload Image //js (Import JQUERY) $('#attach-upload').change(function() { var i = $(this).prev('label').clone(); var attach = $('#attach-upload')[0].files[0].name; $(this).prev('label').text(attach); }); //CSS .custom-attach-upload { border: 1px solid #ccc; display: inline-block; padding: 6px 12px; cursor: pointer; Question & Réponse How can I add a attribute to a DOM element in JavaScript ? Javascript Développement front-end How to sort an array of integers correctly JavaScript ? Javascript Développement front-end How to create a directory using NodeJS ? Node.js Développement back-end How to display all files in a directory using Node.js ? Node.js Développement back-end How to scroll top position in page HTML with Jquery Jquery Développement front-end How to force page scroll position to top at page refresh in HTML Javascript, Jquery Développement front-end How to get random value out of an array ? PHP Développement back-end How to reload or refresh an iframe ? Javascript Développement front-end How to reload or refresh an iframe ? Javascript Développement front-end How to style the input type time CSS Intégration web How to Copy Text with javascript Javascript Développement front-end How Minify CSS with PHP PHP Développement back-end