Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16749
| Date | 2012-10-20 15:09 +0200 |
|---|---|
| From | Luuk <luuk@invalid.lan> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Javascript for HTML select/option form with lots of entries |
| References | <MPG.2aecb9811caf432998c82f@news.supernews.com> |
| Message-ID | <9dkal9-c2a.ln1@luuk.invalid.lan> (permalink) |
On 20-10-2012 14:37, Alfred Molon wrote: > I have an HTML select/option form with about 400 entries (10-digit > customs codes) and it's a bit tiring to scroll up and down to find the > right customs code. > > I was wondering if there is some Javascript which would facilitate the > selection of the right entry. > > For instance initially all 400 entries are displayed as selectable > options. > Then you type a "3" and all entries starting with 3 are displayed as a > scrollable list from which you can choose one entry. > Then suppose you type a "7" and all entries starting with "37" are > displayed. You can select one of the entries or type another digit, > let's say "5" and further reduce the number of entries displayed to > those starting with "375" and so on. Is there Javascript like that > around? > Google says: http://www.raymondcamden.com/index.cfm/2012/6/14/Example-of-a-dynamic-HTML5-datalist-control or, to try this: http://raymondcamden.com/demos/2012/jun/14/test2.html
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 14:37 +0200
Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 15:09 +0200
Re: Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 19:38 +0200
Re: Javascript for HTML select/option form with lots of entries Danny <dann90038@gmail.com> - 2012-10-20 11:40 -0700
Re: Javascript for HTML select/option form with lots of entries Alfred Molon <alfred_molon@yahoo.com> - 2012-10-20 21:13 +0200
Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 20:47 +0200
Re: Javascript for HTML select/option form with lots of entries Luuk <luuk@invalid.lan> - 2012-10-20 22:16 +0200
Re: Javascript for HTML select/option form with lots of entries Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-24 02:21 +0100
csiph-web