JSFiddle - React, Tailwind, and code Playground
HTML
<input type="date" value="" />
JavaScript
$('input.[type="date"]').click(function () {
alert('hello');
});
<input type="date" value="" />
$('input.[type="date"]').click(function () {
alert('hello');
});