Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

How to know if user click on 'prev' or 'next' button for previous/ next month #725

Open
tenznhok opened this issue Jun 8, 2018 · 0 comments

Comments

@tenznhok
Copy link

tenznhok commented Jun 8, 2018

Hi,
Is there a way to know if user click on prev/next button in the calendar?
I know the on('changeDate') is detected if user change the selected date. But if user click on the << or >> in the calendar, how do I know it, and also how to detect what month is it showing.

 $("#dateTimePickerInput").datepicker({
        endDate: new Date,
        todayHighlight: true}
    ).on('changeDate', function (e) {});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant