JSFiddle - React, Tailwind, and code Playground
by Shree Khanal
HTML
<input type="file" id="files" />
<input type="button" id="btnTest" value="Test"/>
JavaScript
$("#btnTest").click(function() {
//$('#files').html('pp.img');
//$('#files').val('pp.img');
$('#files').text('pp.img')
});