JSFiddle - React, Tailwind, and code Playground
by naokiota
HTML
<form>
<input type="text" id="yourinput">
</form>
<script>
$(function() {
$("a:contains('cancel')").click(function(){
$("#yourinput").datepicker( "setDate" , "7/11/2011" );
})
});
</script>