I have an input text box with an onfocus and an onblur event. Under the text box is a div which is hidden by with display: none.
The div should be displayed if text box is focused and hide if blurred. This seem to work. Now I want to let the div stay visible or do any clicks on div if I click on div (or one of its contents) itself. This doesn't work. The onBlur event prevents any events on the div. I already tried to identify which new element was clicked but can't find any attribute which helps me. relatedTarget is NULL. At this time the only solution seems for me to add a onfocus on every other node besides the div and its children
Do you have any other ideas than this? Thank you for your help.
Jens