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


Groups > comp.lang.javascript > #7519

Re: Add an item to an Options List.

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!o19g2000vbk.googlegroups.com!not-for-mail
From bruce <bruceaj@bellsouth.net>
Newsgroups comp.lang.javascript
Subject Re: Add an item to an Options List.
Date Mon, 17 Oct 2011 21:19:13 -0700 (PDT)
Organization http://groups.google.com
Lines 24
Message-ID <a94a1838-90cc-40a9-9a4a-2cebbb7d577f@o19g2000vbk.googlegroups.com> (permalink)
References <83fd624a-0272-4f5c-a11f-f526fc3c563c@v38g2000yqf.googlegroups.com> <j7i1fc$7or$1@dont-email.me>
NNTP-Posting-Host 108.68.65.205
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1318911553 7069 127.0.0.1 (18 Oct 2011 04:19:13 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Tue, 18 Oct 2011 04:19:13 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info o19g2000vbk.googlegroups.com; posting-host=108.68.65.205; posting-account=mf1brAkAAABFHW7KlcqUMF6vmODE2KZM
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:7519

Show key headers only | View raw


On Oct 17, 3:59 pm, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> 17.10.2011 22:00, bruce wrote:
> > When using a combobox, I want to add a new item to the dropdown box
> > but typing the item in the display box. I can do this with Java. Can I
> > do it with JavaScript?
>
> It depends on what you mean by "the display box" and by "typing the
> item" in it - the latter expression is now homeless, maybe you meant to
> write "by" instead of "but".
>
> It's also quite possible that you really mean something different from
> what you write. What would it help to add an item to an "Options List"
> (which probably means the collection of <option> elements inside a
> <select> element) that way? If you wish to allow free text input, why
> don't you just do that, with <input type=text>?
>
> --
> Yucca,http://www.cs.tut.fi/~jkorpela/

You're correct. My description was bad. I;m now trying to develop
something along the lines that you have suggested with the <input
type=text>.

Thanks...

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


Thread

Add an item to an Options List. bruce <bruceaj@bellsouth.net> - 2011-10-17 12:00 -0700
  Re: Add an item to an Options List. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-10-17 22:59 +0300
    Re: Add an item to an Options List. bruce <bruceaj@bellsouth.net> - 2011-10-17 21:19 -0700
  Re: Add an item to an Options List. Scott Sauyet <scott.sauyet@gmail.com> - 2011-10-17 14:03 -0700
    Re: Add an item to an Options List. bruce <bruceaj@bellsouth.net> - 2011-10-17 21:13 -0700

csiph-web