JSFiddle - React, Tailwind, and code Playground

HTML

<input id="selectTest" type="file" onchange="mee();"/>
<div id="jj" hidden>
ghsvdhasvcvscjhv
</div>

JavaScript

$("#selectTest").change(function(){
    $("#jj").show();
    mee();
});

function mee(){

alert("this is mee");
$("#jj").hide();
}