Alexis Morin has made some very nice updates to the code.
He notes that there are still some minor fixes needed:
There is still 1 bug that completely boggles me (IE bug obviously):
when the list button is clicked, the cursor does not focus properly
in the input. The code is at line 99.
As far as I have tried, doing :
alert();
input.focus();
does work, but this is (for obvious reasons) not a viable solution.
I also have tried to give it a time interval, added a sleep function,
switched the code around, etc...
There is also a known issue with placing two DDComboBoxes on the same page (it doesn't work).