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


Groups > comp.lang.javascript > #10581

Perhaps OT ?

From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Perhaps OT ?
Date 2012-01-25 13:46 -0700
Message-ID <9ob81lFcijU1@mid.individual.net> (permalink)

Show all headers | View raw


Hi:

    I have a (series of 4) 2-char input field(s) (vertically oriented in a 
crowded part of my screen) in which the user will input a U.S. State 
Abbreviation (e.g., AZ for Arizona), or a Canadian province (e.g., AB for 
Alberta), OR,  click a key to return this correct abbreviation.

    I have, of course, a concordance file with all the correct names and 
region abbreviations.

But, my problem:

    If my user knows that the input U.S. State name should be the correct 
abbreviation for (say) Minnesota, but does not know the abbreviation itself 
(i.e., MN), how can I  show the user a drop-down list of States & Provinces, 
from which the return value will always be the proper abbreviation, and 
*not* the full State name ?

    I don't know how to configure the <Select   > tag for this operation. My 
head is aching here :(

Thanks for a kick in the pants on this one !

-- 
Mel Smith

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


Thread

Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-25 13:46 -0700
  Re: Perhaps OT ? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-25 16:19 -0800
    Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-25 18:53 -0700
      Re: Perhaps OT ? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-25 19:09 -0800
        Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-26 08:39 -0700
          Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-27 14:58 -0700
            Re: Perhaps OT ? Jeff North <jnorthau@yahoo.com.au> - 2012-01-28 16:38 +1100
              Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-28 08:38 -0700
              Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-28 16:28 -0700
                Re: Perhaps OT ? Jeff North <jnorthau@yahoo.com.au> - 2012-01-29 11:27 +1100
                Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-29 09:26 -0700
  Re: Perhaps OT ? Gene Wirchenko <genew@ocis.net> - 2012-01-25 15:43 -0800
    Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-26 14:25 -0700
      Re: Perhaps OT ? Tim Streater <timstreater@greenbee.net> - 2012-01-26 21:50 +0000
        Re: Perhaps OT ? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-26 16:05 -0800
          Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-27 08:21 -0700
            Re: Perhaps OT ? Dr J R Stockton <reply1204@merlyn.demon.co.uk> - 2012-01-28 19:09 +0000
              Re: Perhaps OT ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-29 09:39 -0700

csiph-web