![]() ![]() ui-datepicker-next: The control used to select subsequent months.ui-datepicker-prev: The control used to select previous months.ui-datepicker-header: The container for the datepicker's header.If the isRTL option is set, this element will additionally have a class of ui-datepicker-rtl. If the datepicker is inline, this element will additionally have a ui-datepicker-inline class. ui-datepicker: The outer container of the datepicker.If datepicker specific styling is needed, the following CSS class names can be used for overrides or as keys for the classes option: ![]() The datepicker widget uses the jQuery UI CSS framework to style its look and feel. You can restore the default localizations with: $.tDefaults( $.datepicker.regional ) Īnd can then override an individual datepicker for a specific locale: $( selector ).datepicker( $.datepicker.regional ) Each entry is an object with the following attributes: closeText, prevText, nextText, currentText, monthNames, monthNamesShort, dayNames, dayNamesShort, dayNamesMin, weekHeader, dateFormat, firstDay, isRTL, showMonthAfterYear, and yearSuffix. The $.datepicker.regional attribute holds an array of localizations, indexed by language code, with "" referring to the default (English). Each localization file adds its options to the set of available localizations and automatically applies them as defaults for all instances. The desired localization file should be included after the main datepicker code. Each localization is contained within its own file with the language code appended to the name, e.g., jquery.ui.datepicker-fr.js for French.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |