JSFiddle - React, Tailwind, and code Playground
by dsgnr
HTML
<input type="file" multiple="" id="asw">
<a href="#" onclick="nig()">Test</a>
JavaScript
window.nig = function(){
alert(document.getElementById("asw").value)
}
by dsgnr
<input type="file" multiple="" id="asw">
<a href="#" onclick="nig()">Test</a>
window.nig = function(){
alert(document.getElementById("asw").value)
}