JSFiddle - React, Tailwind, and code Playground

by HYEONGJINKIM

HTML

<input type="file" id="file_test" name="test" />

JavaScript

$("#file_test").on('change', function(e){    
    console.log(e.target.files[0].name);
});