A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/calendar/calendar_getvalue_method/ below:

Website Navigation


JavaScript Form - getValue Datepicker Method

getValue()

returns the current value of a DatePicker control

getValue(asDate?: boolean): string | Date;

Parameters: Returns:

A string, or Date with the current value of the control.

Example

const value = form.getItem("datepicker").getValue();
// -> "03/06/19"

const value = form.getItem("datepicker").getValue(true);
// -> Mon Jun 03 2019 00:00:00 GMT+0300

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4