src/main/webapp/jquery-easyui-1.3.3/src/jquery.calendar.js
/**
     * show the calendar corresponding to the current month.
     */
show the calendar corresponding to the current month.
show the calendar corresponding to the current month .
function showMonth(target, delta) {
        var opts = $.data(target, 'calendar').options;
        opts.month += delta;
        if (opts.month > 12) {
            opts.year++;
            opts.month = 1;
        } else if (opts.month < 1) {
            opts.year--;
            opts.month = 12;
        }
        show(target);
        var menu = $(target).find('.calendar-menu-month-inner');
        menu.find('td.calendar-selected').removeClass('calendar-selected');
        menu.find('td:eq(' + (opts.month - 1) + ')').addClass('calendar-selected');
    }
function showMonth ( target , delta ) { var opts = $ . data ( target , 'calendar' ) . options ; opts . month += delta ; if ( opts . month > 12 ) { opts . year ++ ; opts . month = 1 ; } else if ( opts . month < 1 ) { opts . year -- ; opts . month = 12 ; } show ( target ) ; var menu = $ ( target ) . find ( '.calendar-menu-month-inner' ) ; menu . find ( 'td.calendar-selected' ) . removeClass ( 'calendar-selected' ) ; menu . find ( 'td:eq(' + ( opts . month - 1 ) + ')' ) . addClass ( 'calendar-selected' ) ; }
show the calendar corresponding to the current month.
show the calendar corresponding to the current month .