Closed antoniogiroz closed 7 years ago
Hi!
How can I override onChange method when calendar was initialized? For instance:
I set default calendar for all calendars on my site:
$('.ui.calendar').calendar({ type: 'date', firstDayOfWeek: 1, //more properties... });
And then I would like override onChange method for every calendar input:
$('#birthDate').calendar.onChange = function(date, text) { //.... }
How can I do it?
Thanks!
I just find it!
$('#birthDate').calendar.settings.onChange = function(date, text) { //.... }
Hi, this doesn't work for me. I can set the new function, but it is never triggered
Hi!
How can I override onChange method when calendar was initialized? For instance:
I set default calendar for all calendars on my site:
And then I would like override onChange method for every calendar input:
How can I do it?
Thanks!