JSFiddle - React, Tailwind, and code Playground

by Silvestrs Kante

HTML

<input type="file" id="test" /><br />
<button id="cancel">lalaa</button>

JavaScript

$("#cancel").click(function(){
 document.getElementById("test").value = "";   
})