
12/07/2005, 02:34
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 4 meses Puntos: 61 | |
Así: Código PHP: <form method="get" action="chat/NormalApplet.php" onsubmit="return this['nick'].value.length>0">
Mote:
<input id="nick" type="text" name="nick" size="12" value="Guest???" />
Estilo de Applet:
<select id="applettype" size="1" onchange="this.form.action=this.value" name="style">
<option value="chat/SimpleApplet.php">Sencillo</option>
<option value="chat/NormalApplet.php" selected="selected">Normal</option>
<option value="chat/HeavyApplet.php">Pesado</option>
<option value="chat/AppletWithJS.php">del tipo JS</option>
</select>
<input id="submit" type="submit" value="Chatea!" name="B1" />
</form>
Un saludo! Lo he tomado de la misma página que has dicho.
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |