javaScript Calendar
Invoke the clear method of the jqxCalendar. Author: http://jqwidgets.com
by jqwidgets
HTML
<script src="https://jqwidgets.com/jquery-widgets-demo/jqwidgets/globalization/globalize.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxCalendar'></div>
<div>
<br/>
<input type="button" id='jqxButton' value="Clear " />
</div>
JavaScript
$("#jqxCalendar").jqxCalendar({
width: 200,
height: 200,
theme: 'energyblue'
});
$("#jqxButton").jqxButton({
height: '30px',
width: '120px',
theme: 'energyblue'
});
$('#jqxCalendar ').jqxCalendar('setDate', new Date(2013, 0, 1));
$('#jqxButton').on('click', function () {
$('#jqxCalendar').jqxCalendar('clear');
});