Initializes a new instance of the DateTimePicker class.
Namespace: MindFusion.Common.UI
File: DateTimePicker.js
JavaScript Copy Code |
---|
function DateTimePicker ([element]) |
HTMLElement. The control's associated Dom element.
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")); |