OTRS API Reference JavaScript

Namespace: Core.UI.Datepicker

Core.UI. Datepicker

This namespace contains the datepicker functions.
Author:
  • OTRS AG
Source:

Methods

(static) Init(Element) → {Boolean}

This function initializes the datepicker on the defined elements.
Parameters:
Name Type Description
Element jQueryObject | Object The jQuery object of a text input field which should get a datepicker. Or a hash with the Keys 'Year', 'Month' and 'Day' and as values the jQueryObjects of the select drop downs.
Source:
Returns:
false, if Parameter Element is not of the correct type.
Type
Boolean