Calendar by clicking on the icon in the textinput

I see a lot of example but I’m not able to connect the calendar to a text input by clicking on the icon_minicalendar.gif image as shown on the index of the dhtmlxCalendar section

Take a look at the sample:
dhtmlxCalendar/samples/01_initialization/07_calendar_sensitive.html

Here you calendar appears on icon click

The same sample:
dhtmlx.com/docs/products/dht … itive.html