Hi,
I have a following situation in my application:
right now the calendar is shown and hidden on onclick event but I want him to be shown on onfocus event and hidden on
onblur event as well
Is it possible to register the calendar to onfocus and onblur events at the moment?
Rgds,
Janusz
You can register it with custom code
dhtmlxEvent(element,“blur”,function(){
calendar.hide();
});
dhtmlxEvent(element,“focus”,function(){
calendar.show();
});
After registering these event the selection in the calendar
is not transported to the input field.
I tested it step by step. And it seems that after adding 'blur’
event the entry from the calendar is not passed to the input field.
dhtmlxEvent(element,“blur”,function(){
this.value=calendar.getFormatedDate();
calendar.hide();
});