| Author |
what is widget called?
|
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 23621
|
|
Does anyone know if there is a name for the widget described below? It looks like a regular multiple selection box (<select>.) The user clicks or tabs into the box and types in some text. The widget takes the user to the entry beginning with those characters through JavaScript. Normally, browsers support this for the first character. For example, you type "O" in a list of states to go to Ohio. This widget extends that functionality to support multiple characters. Note: this is different than a combobox in that it doesn't have a corresponding text field.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3, OCAJP
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
I can not access the forum from work where I know the code exists so I can not get a direct link! On http://www.codingforums.com they have a "post a script" forum. Do a search for something like "continuous dropdown" or something like that. If you can not find it, I will find the link tonight when I get home. Eric
|
 |
Garann Means
Ranch Hand
Joined: Jan 28, 2002
Posts: 214
|
|
|
I've heard that function called "type ahead". I think that's MS's term for it, so it may have a different name on the web.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
here: http://codingforums.com/showthread.php?t=9865 Eric
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 23621
|
|
|
Thanks Eric. I guess it doesn't have a name other than "type the first few characters."
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 23621
|
|
|
For anyone who sees this in the future, the widget is called an "multi-stroke auto-select combo." The direct link to the example Eric mentioned.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 23621
|
|
I know this thread is old, but I want to add this as a note to myself: Firefox & IE 7 provide this functionality out of the box. The only thin missing is to display what has been typed in so far in the info bar.
|
 |
 |
|
|
subject: what is widget called?
|
|
|