I simply have the recommended line of code in onClick function of a button ;
After I choose a date and click "Set", a spinner shows up and does not appear.
var options = {
date: new Date(),
mode: 'date'
};
datePicker.show(options, function(date){
alert("date result " + date);
});
I simply have the recommended line of code in onClick function of a button ; After I choose a date and click "Set", a spinner shows up and does not appear.
var options = { date: new Date(), mode: 'date' };
datePicker.show(options, function(date){ alert("date result " + date);
});