JSFiddle - React, Tailwind, and code Playground

by glebm

HTML

<div id="file-container">
    <input type=file>
</div>

JavaScript

jQuery(function($) {
    $("#file-container").delegate("input", "change", function(){
        alert("Event fired!");
    });
});