Re: HTML form
| From: | Richard Lynch | Date: | Thu, 01 Jun 2006 20:25:46 +0000 |
| Subject: | Re: HTML form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237212@lists.php.net to get a copy of this message | ||
If you have already visited the page, and chosen another option,
Firefox "remembers" your choice for you.
Quit Firefox and start over, and it should "work"
On Thu, June 1, 2006 1:53 pm, Martin Marques wrote:
> Sorry for the OT, but this is PHP output anyway :-)
>
> I have a bunch of code to input and modify data through an HTML form.
> When
> I modify the options, some are in text, others
> in textarea, and some are in select options. Now wat I did is make the
> current value be the selected one, but my browser
> doesn't seem to get it right. Here is the HTML output:
>
> <SELECT name="cargo">
> <OPTION value=8>Profesor titular</OPTION>
> <OPTION value=7>Profesor asociado</OPTION>
> <OPTION value=6>Profesor adjunto</OPTION>
> <OPTION value=5>Jefe de trabajos pracáá½ticos</OPTION>
> <OPTION selected value=4>Ayudante de cat½edra</OPTION>
> <OPTION value=3>Ayudante alumno</OPTION>
> <OPTION value=2>Pasante</OPTION>
> <OPTION value=1>Colaborador externo</OPTION>
> </SELECT>
>
> But the browser doesn't show the option "Ayudante de catedra" selected
> by
> default.
>
> Am I so blind that I can't see the problem or those my firefox have a
> problem?
>
> --
> 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
> ---------------------------------------------------------
> Lic. Martín Marqués | SELECT 'mmarques' ||
> Centro de Telemática | '@' || 'unl.edu.ar';
> Universidad Nacional | DBA, Programador,
> del Litoral | Administrador
> ---------------------------------------------------------
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Like Music?
http://l-i-e.com/artists.htm