Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

OnFocus  Autoexpand of Listbox

Posted on 2006-07-13
Last Modified: 2012-06-21
Hi all.

I am working on a listbox solutiuon that I have most of the other capabilities worked ou.

What I need is a way so that when a listbox get focus - it automatically does a dropdown. This is distinct from setting the size to say 10 instead of 1.

The end solution that I am working on will be an AJAX aware listbox so that the use can start to type and the listbox automatically gets any results that match the entered text.  Often there is a situation where one might have hundreds of entries in a listbox (I have seen some bad example) and I want to minimise it so that only upto 10 options are loaded at a time.

I have this working perfectly in a textbox solution already but would like to have a listbox as well.

Many thanks

Take Care

Question by:CVSmarc
LVL 75

Accepted Solution

Michel Plungjan earned 500 total points
ID: 17106260
Not possible.
Re-use your textbox solution

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Make options hidden and show just option that is on 1 29
How to pass JavaScript generated HTML text form values to PHP? 5 38
Json Schema 8 32
jQuery force form POST 7 45
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

860 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