JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-git.js"></script>
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>

<a href="http://bugs.jqueryui.com/ticket/8570">jQuery UI #8570</a>
<p>click prev / next button<br/>
try to navigate to next / prev month with CTRL+arrows OR<br/>
    click input and type 07/08/2010<br/></p>

<input id="datepicker"/><span id="month">none</span>

CSS

#month {padding : 2px 4px; background : #f00; color : #fff;}

JavaScript

$('#datepicker').datepicker({
    onChangeMonthYear : showMonth 
});

function showMonth(year, month) {
    $('#month').html(month+'/'+year);
}