Web Development with jQuery®

(Elliott) #1

Appendix O (^) ❘ 591
buttonImage The URL for the pop-up button image. If set,
button text becomes the alt value and is not directly
displayed.
Default value: ''
String
buttonImageOnly Set to true to place an image after the fi eld to use
as the trigger without it appearing on a button.
Default value: false
Boolean
buttonText The text to display on the trigger button. Use with
showOn equal to 'button' or 'both'.
Default value: '...'
String
calculateWeek Performs the week of the year calculation. This
function accepts a Date as a parameter and returns
the number of the corresponding week of the year.
The default implementation uses the ISO 8601
defi nition of a week: Weeks start on a Monday, and
the fi rst week of the year contains January 4. This
means that up to 3 days from the previous year may
be included in the fi rst week of the current year,
and that up to 3 days from the current year may be
included in the last week of the previous year.
Default value: $.datepicker.iso8601Week
function()
changeMonth Whether the month should be rendered as a
drop-down instead of as text.
Default value: false
Boolean
changeYear Whether the year should be rendered as a
drop-down instead of as text.
Default is value: false
Boolean
closeText The text to display for the close link. Use the
showButtonPanel option to display this button.
Default value: 'Done'
String
constrainInput true if the input fi eld is constrained to the current
date format.
Default value: true
Boolean
currentText The text to display for the current day link.
Default value: 'Today'
String
continues
http://www.it-ebooks.info

Free download pdf