JSFiddle - React, Tailwind, and code Playground
by liho1eye
HTML
<input type="file" />
<button>TEST</button>
JavaScript
$("button").click(function()
{
console.log($("input[type=file]").get(0).files);
});
by liho1eye
<input type="file" />
<button>TEST</button>
$("button").click(function()
{
console.log($("input[type=file]").get(0).files);
});