JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<div id="demo">
  <input type="text" id="datepicker" style="visibility:hidden">
  <div class="trigger">Click Me</div>
</div>

CSS

#demo {
  top: 100px;  
  left:100px;
  position:absolute;
}

JavaScript

$(function() {
   $(".trigger").click(function() {
     $("#datepicker").datepicker({});
     $("#datepicker").datepicker("show");
   });

 });