Solved

Auto open/expand combo drop down

Posted on 2010-11-17
5
604 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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'…
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…

820 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