

This option is a 7-element array providing the full day names with the 0th element representing Sunday. This option specifies the date format to be used. This is used if the button panel is displayed via the showButtonPanel option. This option specifies the text to replace the default caption of today for the current button. This option if set true (the default), text entry into the element is constrained to characters allowed by the current dateformat option. It is used when the button panel is displayed via the showbuttonpanel option. This option specifies the text to replace the default caption of done for the close button. The option yearRange can be used to control which years are made available for selection. This option if set to true, a year dropdown is displayed, allowing the user to directly change the year without using the arrow buttons to step through them. This option if set to true, a month dropdown is displayed, allowing the user to directly change the month without using the arrow buttons to step through them. The default implementation is that provided by the $.datepicker.iso8601week() utility function. This option is a custom function to calculate and return the week number for a date passed as the lone parameter. This option specifies the caption for the button enabled by setting the showOn option to one of button or both. The showOn option must still be set to one of button or both for the image to appear. This option if set to true, specifies that the image specified by buttonImage is to appear standalone (not on a button). If buttonText is also provided, the button text becomes the alt attribute of the button. This option specifies the path to an image to be displayed on the button enabled by setting the showOn option to one of buttons or both. This function must return a three-element array. This can be used to override some of the default behavior of the day elements. This option is a callback function which takes a date as parameter, that?s invoked for each day in the datepicker just before it?s displayed, with the date passed as the only parameter. This function can return an options hash used to modify the datepicker. This option is a callback function that?s invoked just before a datepicker is displayed, with the element and datepicker instance passed as parameters. This option when set to true resizes the element to accommodate the datepicker?s date format as set with the dateformat option. This option is a string value to be placed after the element, intended to show instructions to the user. it provides the format for the value to be written to the alternate element. This option is used when an altField option is specified. This is quite useful for setting date values into a hidden input element to be submitted to the server, while displaying a more user-friendly format to the user. The altFormat option can be used to set the format for this value. This option specifies a jQuery selector for a field that is also updated with any date selections. $(selector, context).datepicker() įollowing is a list of different options that can be used with this method.
