views:

32

answers:

1

in my application i need ... if a user click on combobox it will work as usual like show all the list and when mouse is not on any of item or on combobox...then that combobox should take its default position .... that mean it must compress again

in jquery or javascript..you can post your answer ... i just want solution :(

+1  A: 

Put this code in your <select> tag:

<select onmouseout="JavaScript: this.blur();">
  ...
</select>
Sparafusile
its working in firefox ...which i need basically...can u tell me how make i make it work on IE too
Richa