JavaScript DateTimeInput

Invoke the setDate method of the jqxDateTimeInput. Author: http://jqwidgets.com

HTML

<script src="http:\\jqwidgets.com\jquery-widgets-demo\jqwidgets\globalization/globalize.js"></script>
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div style="margin: 10px;" id='jqxDateTimeInput'></div>
<button id="button">Set Date</button>

JavaScript

$("#jqxDateTimeInput").jqxDateTimeInput({
     width: '250px',
     height: '25px',
     theme: 'energyblue'
 });
 $("#button").click(function () {
     $('#jqxDateTimeInput ').jqxDateTimeInput('setDate', null);
 });