Search
DateTimePicker Constructor
See Also
 






Initializes a new instance of the DateTimePicker class.

Namespace: MindFusion.Common.UI
File: DateTimePicker.js

 Syntax

JavaScript  Copy Code

function DateTimePicker ([element])

 Parameters

element
Optional.

HTMLElement. The control's associated Dom element.

 Example

The following code creates a new DateTimePicker using an HTML div element with an id "date_picker":

JavaScript  Copy Code

var u = MindFusion.Common.UI;

var dateTimePicker = new ui.DateTimePicker(document.getElementById("date_picker"));

 See Also