Solved

Auto open/expand combo drop down

Posted on 2010-11-17
5
600 Views
Last Modified: 2012-08-13
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
Comment
Question by:Valimai
  • 3
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 250 total points
ID: 34161207
you could change the size of the drop down list on focus
0
 
LVL 1

Author Comment

by:Valimai
ID: 34161220
thanks, i have seen solution like that. because the dropdown is in a grid/table, i cannot resize.
0
 
LVL 10

Assisted Solution

by:hosneylk
hosneylk earned 250 total points
ID: 34161281
0
 
LVL 1

Author Comment

by:Valimai
ID: 34161320
@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
 
LVL 1

Author Comment

by:Valimai
ID: 34168676
It appears there is no solution for this and I will close this question. Thanks for contributing.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now