Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3426 > unrolled thread
| Started by | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| First post | 2011-10-15 18:19 -0700 |
| Last post | 2011-10-17 15:54 -0400 |
| Articles | 7 — 6 participants |
Back to article view | Back to comp.lang.php
Editing a combobox bruceaj <bruceaj@bellsouth.net> - 2011-10-15 18:19 -0700
Re: Editing a combobox Gregor Kofler <usenet@gregorkofler.com> - 2011-10-16 12:23 +0200
Re: Editing a combobox "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2011-10-16 12:13 +0000
Re: Editing a combobox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-16 14:16 +0200
Re: Editing a combobox "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-10-17 10:02 +0200
Re: Editing a combobox bruceaj <bruceaj@bellsouth.net> - 2011-10-17 11:59 -0700
Re: Editing a combobox Dave Pyles <dave@user.invalid> - 2011-10-17 15:54 -0400
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-10-15 18:19 -0700 |
| Subject | Editing a combobox |
| Message-ID | <be8b789a-6817-42bd-83bc-f3a04e953d9f@u9g2000vby.googlegroups.com> |
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 PHP? Thank you.. Bruce
[toc] | [next] | [standalone]
| From | Gregor Kofler <usenet@gregorkofler.com> |
|---|---|
| Date | 2011-10-16 12:23 +0200 |
| Message-ID | <j7eba4$q2t$1@dont-email.me> |
| In reply to | #3426 |
Am 2011-10-16 03:19, bruceaj meinte: > 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 PHP? Since PHP runs on the server, which doesn't know about "comboboxes" (what's that, BTW?) - no. > Thank you.. You're welcome. Gregor -- http://vxweb.net
[toc] | [prev] | [next] | [standalone]
| From | "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> |
|---|---|
| Date | 2011-10-16 12:13 +0000 |
| Message-ID | <j7ehq1$pmq$1@dont-email.me> |
| In reply to | #3429 |
Gregor Kofler wrote: > Am 2011-10-16 03:19, bruceaj meinte: >> 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 PHP? > > Since PHP runs on the server, which doesn't know about "comboboxes" > (what's that, BTW?) - no. It is like a <select> ... <option> ... but allows new data to be entered into the text display box. My old Visual Basic work tells me this. :-) There's no HTML equivalent. http://en.wikipedia.org/wiki/Combo_box So the answer is No. -- -bts -This space for rent, but the price is high
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2011-10-16 14:16 +0200 |
| Message-ID | <4765978.ypaU67uLZW@PointedEars.de> |
| In reply to | #3429 |
Gregor Kofler wrote: > Am 2011-10-16 03:19, bruceaj meinte: >> 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 PHP? > > Since PHP runs on the server, PHP runs everywhere. > which doesn't know about "comboboxes" (what's that, BTW?) - no. You should not be so quick to dismiss the possibility of client-side GUI programming with PHP. There is an API for that. PointedEars -- Use any version of Microsoft Frontpage to create your site. (This won't prevent people from viewing your source, but no one will want to steal it.) -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
[toc] | [prev] | [next] | [standalone]
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
|---|---|
| Date | 2011-10-17 10:02 +0200 |
| Message-ID | <j7gnek$aho$1@dont-email.me> |
| In reply to | #3426 |
El 16/10/2011 3:19, bruceaj escribió/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 PHP? The problem is not Java or PHP, the problem is HTML which, as far as I know, does not currently define such form element. These kind of complex controls are normally emulated with client-side JavaScript. -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://borrame.com -- Mi web de humor satinado: http://www.demogracia.com --
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-10-17 11:59 -0700 |
| Message-ID | <55e25bbf-62e3-479e-9140-2652629d269d@fk25g2000vbb.googlegroups.com> |
| In reply to | #3441 |
On Oct 17, 4:02 am, "Álvaro G. Vicario" <alvaro.NOSPAMTH...@demogracia.com.invalid> wrote: > El 16/10/2011 3:19, bruceaj escribió/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 PHP? > > The problem is not Java or PHP, the problem is HTML which, as far as I > know, does not currently define such form element. > > These kind of complex controls are normally emulated with client-side > JavaScript. > > -- > --http://alvaro.es- Álvaro G. Vicario - Burgos, Spain > -- Mi sitio sobre programación web:http://borrame.com > -- Mi web de humor satinado:http://www.demogracia.com > -- So I can update the options list in a combobox using JavaScript. Right? Can you point me to a JavaScript example? In the meantime, I'll go over to the JavaScript newsgroup and post the same problem. Thanks.. Bruce
[toc] | [prev] | [next] | [standalone]
| From | Dave Pyles <dave@user.invalid> |
|---|---|
| Date | 2011-10-17 15:54 -0400 |
| Message-ID | <j7i15v$4o0$1@dont-email.me> |
| In reply to | #3448 |
On 10/17/2011 2:59 PM, bruceaj wrote: > On Oct 17, 4:02 am, "Álvaro G. Vicario" > <alvaro.NOSPAMTH...@demogracia.com.invalid> wrote: >> El 16/10/2011 3:19, bruceaj escribió/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 PHP? >> >> The problem is not Java or PHP, the problem is HTML which, as far as I >> know, does not currently define such form element. >> >> These kind of complex controls are normally emulated with client-side >> JavaScript. >> >> -- >> --http://alvaro.es- Álvaro G. Vicario - Burgos, Spain >> -- Mi sitio sobre programación web:http://borrame.com >> -- Mi web de humor satinado:http://www.demogracia.com >> -- > > So I can update the options list in a combobox using JavaScript. > Right? > > Can you point me to a JavaScript example? In the meantime, I'll go > over to the JavaScript newsgroup and post the same problem. > > Thanks.. > > Bruce http://lmgtfy.com/?q=update+combobox+javascript Dave Pyles
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web