문제

I cannot find an "onMonthChanged" event on the jqm Datebox. Is there any event that fires when the user presses the arrow button to change month in the control?

Any alternative solution to catch this user action?

Thanks!

도움이 되었습니까?

해결책

Looks like {'method'} === offset does this. Just a question of me not understanding the API docs.

$('#mydate').bind('datebox', function (e, p) {
    if (p.method === 'offset') {
        alert(p.amount);
    }
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top