Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16748

Javascript for HTML select/option form with lots of entries

From Alfred Molon <alfred_molon@yahoo.com>
Newsgroups comp.lang.javascript
Subject Javascript for HTML select/option form with lots of entries
Date 2012-10-20 14:37 +0200
Message-ID <MPG.2aecb9811caf432998c82f@news.supernews.com> (permalink)

Show all headers | View raw


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?
-- 

Alfred Molon
http://www.molon.de - Photos of Asia, Africa and Europe

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


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