JSFiddle - React, Tailwind, and code Playground

by jquerybyexample

HTML

<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery.ui.all.css">
<input type='text' id='txtDate' />

CSS

body
{
    font-family:Arial;
    font-size : 10pt;
    padding:5px;
}

JavaScript

$(document).ready(function() {
   $('#txtDate').attr("placeholder", "mm/dd/yyyy").datepicker();
});