19
rated 0 times
[
22]
[
3]
/ answers: 1 / hits: 80941
/ 10 Years ago, sat, august 16, 2014, 12:00:00
I want to set today date to Kendo DatePicker on clear button click. I tried following but it is not working.
$('#btnClear').click(function () {
$(#StartDate).data(kendoDatePicker).value(new Date());
});
Above code don't give any error and don't set today date. It clears kendo DatePicker's textbox value.
Note: Kendo DatePicker format is MM/dd/yyyy.
More From » jquery