JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js" ></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js" ></script>
<script src="http://files.tonyq.org/jqueryui/jquery.ui.datepicker-zh-TW.min.js" ></script>
    
    Click the text:<input type="text" id="test" />

JavaScript

$("#test").datepicker({dateFormat:"yy-mm-dd",changeMonth: true,changeYear: true});