• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 648
  • Last Modified:

Auto open/expand combo drop down

Hi,

Going to explain this carefully as I have seen forum posts where people are confused and give the wrong answer.

A drop down / combobox. This is one with the <select> html tag.

When there are items in it and you click on it, you see all the items in a drop down.

Clicking gives focus.

If i were to use the keyboard to TAB from a another control to the dropdownbox. How via javascript could I open the drop down to show all the selectable items as if the user clicked on the combobox with a mouse.

thanks
0
Valimai
Asked:
Valimai
  • 3
  • 2
2 Solutions
 
hosneylkCommented:
you could change the size of the drop down list on focus
0
 
ValimaiAuthor Commented:
thanks, i have seen solution like that. because the dropdown is in a grid/table, i cannot resize.
0
 
ValimaiAuthor Commented:
@hosneylk: thanks for posting that, however, while it reads like it is what I am looking for. The end result html does not work. The box doesn't open on focus.
Tried this in IE8 and FF3.5.
0
 
ValimaiAuthor Commented:
It appears there is no solution for this and I will close this question. Thanks for contributing.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now