attachCalendar( id, format )
This function attaches a pop-up calendar to any input field.
Parameters:
id – input field id
format – date format (Optional).
Example:
attachCalendar("TextBox1");
Note:
You can use the pui.detachCalendar() API to remove the calendar. Â