JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://keith-wood.name/css/jquery.datepick.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://keith-wood.name/js/jquery.plugin.js"></script>
<script src="http://keith-wood.name/js/jquery.datepick.js"></script>
<link rel="stylesheet" href="http://keith-wood.name/css/jquery.datepick.css" id="theme">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://keith-wood.name/js/jquery.plugin.js"></script>
<script src="http://keith-wood.name/js/jquery.datepick.js"></script>
<input type="text" id="date" />
JavaScript
$('#date').datepick({
beforeShow: function(input, inst)
{
inst.dpDiv.css({marginTop: -input.offsetHeight + 'px', marginLeft: input.offsetWidth + 'px'});
},
dateFormat: 'mm/dd/yy',
rangeSelect: false,
monthsToShow: [1,2],
monthsOffset: 0,
monthsToStep: 1,
//supress the inline css used by jquery for div width
onShow:function(){
jQuery('.datepick-multi').css({'width':'426'});
jQuery('.datepick-popup').css({'z-index':'20000'});
},
constrainInput:false,
showOnFocus:false,
showTrigger:"<button type='button' title='Pick Date' style='padding:1px;' name='StartDatePicker' id='StartDatePicker'><img src='/images/calendarpicker.gif' alt='Pick Date' width='16' height='13'></button>"
});