views:

165

answers:

1

Hi, i am trying to add options to a select in its onclick event and works fine in firefox and ie but... ie close the list after fill it although mozilla holds the list expanded

¿Are there any way to hold expanded the list (or reexpand the list with javascript) in IE? (i am using ie 7.0)

thanks!

+2  A: 

No, not far as i know. the IE redraws the part that are changed, and therefore reset the "design" surface. thats why this happens. what you can do, add the options on the onMouseOver event. that should occour bevore the onClick.

a good reference on all events for the IE is in the library. http://msdn.microsoft.com/en-us/library/ms535893%28VS.85%29.aspx#

cRichter