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.
0 Comments
Leave a Reply. |