hi,
The following code can not be executed………….
<div style=”margin: 10px;” id=’jqxDateTimeInput’></div>
<input type=”button” id=”btn1″ />
$(“#jqxDateTimeInput”).jqxDateTimeInput({
width: ‘250px’,
height: ’25px’,
theme: ‘energyblue’
});
$(‘#jqxDateTimeInput ‘).jqxDateTimeInput(‘setDate’, new Date(2014, 1, 1));
btn.click(function(){
$(‘#jqxDateTimeInput ‘).jqxDateTimeInput(‘setDate’, new Date(2014, 4,1));
$(‘#jqxDateTimeInput ‘).val(new Date(2014, 4, 1));
$(‘#jqxDateTimeInput ‘).val(‘2014-4-1’);
});
Please tell me
How to set the date?