JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/redmond/jquery-ui.css">
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/>

<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);
}