Dhtmlxcalendar setPosition()

Hi,



setPosition() don�t work

this is the code:



cal= new dhtmlxCalendarObject(campo);

cal.setPosition(campo,‘100’,‘100’);

cal.draw();

//end code



where “campo” it�s a text input by id=“campo”








Hello,

The following code must work:

var campo = document.getElementById("…")


cal= new dhtmlxCalendarObject(campo);
cal.draw();

cal.setPosition(campo);


If problem persists, please provide teh sample where we can recreate it.