Your theory is consistent with ours...
I tried your suggestion in two places, at the end of the hideDdn() function
and in the middle of the function, before the control with the focus is set
to hidden. I've commented out both place in the source, because it still
hangs in IE7 for me, and if someone wants to test the code on their machine,
they can copy then uncomment the code in either place.
My theory is the list control had focus, was set to hidden and didn't give
focus back to the visible controls until tab (or other) forced the focus to
change. It doesn't explain why IE7 handles this differently than IE6, but so
far your proposed solution isn't working. (Maybe I did something wrong, you
will see it in the source.)
Tomorrow I'll try to directly blur the object that has the focus and reset
the focus to the text box.
Although that isn't ideal, since the IE6 version allows for the fact that
users might click outside the pick list, and it still "closes" (hides) the
list and focus doesn't go to the text box.
I suspect we are dancing right around a workaround, so please feel free to
set me straight if I'm missing something.
I appreciate the suggestions and all others are welcomed!
"Etan Bukiet" wrote: