Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Javascript for HTML select/option form with lots of entries
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Luuk  
View profile  
 More options Oct 20 2012, 9:10 am
Newsgroups: comp.lang.javascript
From: Luuk <l...@invalid.lan>
Date: Sat, 20 Oct 2012 15:09:35 +0200
Local: Sat, Oct 20 2012 9:09 am
Subject: Re: Javascript for HTML select/option form with lots of entries
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...

or, to try this:
http://raymondcamden.com/demos/2012/jun/14/test2.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.