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
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
LVL 75

Accepted Solution

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Title # Comments Views Activity
JavaScript code not working 3 33
Sending ASP to server side 8 32
Anyone familiar with PhotoSwipe? 3 19
Why is my $_POST not going to results page 10 41
In my daily work (mainly using, I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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…

726 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