Table of Contents

behavior: date

Date input element behavior.

Example:

<input type="date" name="date1" value="2004-01-24" />

Date element is sensitive to current user' locale settings, e.g. it will use localized names of months and week days and month/day/year order in the editing portion of the element.

Elements

that have this behavior applied by default (see master style sheet):

Attributes

that this behavior knows about:

Events

Together with the standard set of events (mouse, keyboard, focus) behavior: date generates:

Value

of type json::value::T_DATE.

Special key combinations

See edit and See calendar (when popup is open)

Model

After initialization (event: attached) of the behavior it creates following DOM structure: