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);
});