JSFiddle - React, Tailwind, and code Playground HTML <input type="file"/> JavaScript $('input').change(function(){ alert(this.value); });