Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #7519
| From | bruce <bruceaj@bellsouth.net> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Add an item to an Options List. |
| Date | 2011-10-17 21:19 -0700 |
| Organization | http://groups.google.com |
| 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> |
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 | Next — Previous in thread | Next in thread | Find similar
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