JSFiddle - React, Tailwind, and code Playground
HTML
<input type="file" name="files[]" multiple="multiple" class="multiupload" /><input type="button" onclick="check()" />
<script>
function check(){
var str = '';
$('.multiupload').map(function(){
str += $(this).val();
});
alert(str);
}
</script>