DayPilot.DatePicker.target

Identifies the target element that will be linked with the date picker. The selected value will be displayed using the target element (formatted using pattern).

Accepted values:

  • string (id of the target element)
  • DOM object

Supported target element types:

  • <input> value will be set using "value" attribute
  • other elements (<div>, <span>, ...) will be set using innerText

Declaration

DayPilot.DatePicker.target

Default Value

null