[5566] in www-talk@info.cern.ch
Q: SELECT VALUE in OPTION
daemon@ATHENA.MIT.EDU (Frank Richter)
Wed Sep 14 04:30:43 1994
Date: Wed, 14 Sep 1994 10:20:50 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: Frank.Richter@hrz.tu-chemnitz.de
From: Frank Richter <Frank.Richter@hrz.tu-chemnitz.de>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Hi,
I have a question on correct using of SELECT statement in a FORM.
I tried to use the following HTML code:
..
<FORM ACTION="/cgi-bin/test-cgi">
<SELECT NAME="M">
<OPTION VALUE="value1"> Text 1
<OPTION VALUE="value2"> Text 2
</SELECT><INPUT TYPE="submit" VALUE="go"></FORM>
..
Is the use of VALUE in OPTION correct?
Mosaic 2.4 does what I want: if user selects Text 1, value1 is sent.
Lynx 2.3 doesn't what I want: if user selects Text 1, Text 1 is sent.
One implementation wrong? Or my HTML wrong? Or "undefined behaviour"?
Any hints welcome,
Frank
--------------------------------------------------------------------------
Frank Richter Computing Services, Technical University Chemnitz, Germany
Email: Frank.Richter@hrz.tu-chemnitz.de (MIME welcome) | see X.500 entry