(^594) ❘ APPENDIX O DATEPICKER
nextText The text to display for the next month link.
Default value: 'Next'
String
numberOfMonths Sets how many months to show at once. The value
can be a number, or it can be an array to defi ne the
number of rows and columns to display.
Default value: 1
Number,
Array
onChangeMonth-
Year
Allows you to defi ne your own event when the
Datepicker moves to a new month and/or year.
The function receives the date of the fi rst day of the
fi rst displayed month and the Datepicker instance
as parameters. this refers to the associated input
fi eld.
Default value: null
function
(year,
month,
inst)
onClose Allows you to defi ne your own event when the
Datepicker is closed, regardless if a date is selected.
The function receives the selected date(s) as a date
or array of dates and the Datepicker instance as
parameters. this refers to the associated input
fi eld.
Default value: null
function
(dateText,
inst)
onSelect Allows you to defi ne your own event when the
Datepicker is selected. The function receives the
selected date(s) as text and the Datepicker instance
as parameters. this refers to the associated input
fi eld.
Default value: null
function
(dateText,
inst)
prevText The text to display for the previous month link.
Default value: 'Prev'
String
select-
OtherMonths
Displayed dates in other months shown before or
after the current month are selectable.
Default value: false
Boolean
(continued)
http://www.it-ebooks.info
elliott
(Elliott)
#1