Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Auto open/expand combo drop down

Posted on 2010-11-17
5
Medium Priority
?
621 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 1000 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 1000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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 …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…
Suggested Courses

885 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