JSFiddle - React, Tailwind, and code Playground
by mohammadAdil
HTML
<input type="file" name="file" id="file">
JavaScript
$('#file').on('change',function(){
console.log($("#file").val())
});
by mohammadAdil
<input type="file" name="file" id="file">
$('#file').on('change',function(){
console.log($("#file").val())
});