Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.
This repository was 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

@tenznhok

Description

@tenznhok

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) {});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions