JSFiddle - React, Tailwind, and code Playground

by Alexander Shpak

HTML

<input type="file">

JavaScript

$('input[type=file]').change(function () {
    alert(this.files[0].mozFullPath);
});