Open mohsin1122 opened 7 years ago
every time open calender and press ok while on same screen the change event is triggered previous +1 times
Call it this way:
$('.datepicker').bootstrapMaterialDatePicker({ weekStart: 0, time: false }); $('.datepicker').on('change', function (e, date) { alert($('#date').val()); });
Avoid chaining
change event is triggering 3 time on calender OK click