Editing a combobox [message #175650] |
Sun, 16 October 2011 01:19  |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
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
|
|
|
|
|
|
|
Re: Editing a combobox [message #175671 is a reply to message #175664] |
Mon, 17 October 2011 18:59   |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
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
|
|
|
Re: Editing a combobox [message #175672 is a reply to message #175671] |
Mon, 17 October 2011 19:54  |
Dave Pyles
Messages: 7 Registered: October 2011
Karma: 0
|
Junior Member |
|
|
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
|
|
|