Solved

Auto open/expand combo drop down

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

813 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

16 Experts available now in Live!

Get 1:1 Help Now