JSFiddle - React, Tailwind, and code Playground

by kitsunde

HTML

<input type="date" id="input1" />
<input type="date" id="input2" />

JavaScript

$("input").live("change", function(){
    $("body").append("change on " + $(this).attr("id"));
});

$("#input1").datepicker({
    onSelect: function(selectedDate){}
});

$("#input2").datepicker({});