JSFiddle - React, Tailwind, and code Playground

by Alexey Zakharov

HTML

<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<input type="file" name="test" id="test" multiple="multiple">

JavaScript

console.log($('#test').prop('files'));
$('body').on('change', '#test', function (event) {
	console.log($('#test').prop('files'));
})