Debe ser muy sencillo, pero no encuentro manera de hacerlo.
Quiero asignar un valor previo a un combo y luego que al desplegar me salgan los valores correspondientes. ¿Se puede hacer?.
Dejo el código:
Código:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 2</title>
</head>
<body>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p>
<select size="1" name="D1" value="Femenino">
<option value="Masculino">Masculino</option>
<option value="Femenino">Femenino</option>
</select><input type="submit" value="Enviar" name="B1"><input type="reset" value="Restablecer" name="B2"></p>
<input type="text" name="cc" size="10" >
</form>
</body>
</html>