P
Peter
I have created a buttonbar with server custom dropdown lists. When a
list has been opened it has to be closed by a click anywhere in the
browser. I have a javscript function that closes this list added to the
document.onclick like this document.onclick = Hide; This works no
problem here.
Now somewhere else on the page is a help viewer that when clicked opens
a div with additional help info. I want this div to close when I click
somewhere on the document. When I add document.onclick=HideDiv my menu
does not get closed anymore because I now use document.onclick for the
div.
What am I doing wrong here?
list has been opened it has to be closed by a click anywhere in the
browser. I have a javscript function that closes this list added to the
document.onclick like this document.onclick = Hide; This works no
problem here.
Now somewhere else on the page is a help viewer that when clicked opens
a div with additional help info. I want this div to close when I click
somewhere on the document. When I add document.onclick=HideDiv my menu
does not get closed anymore because I now use document.onclick for the
div.
What am I doing wrong here?