![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/06/2003, 01:23
|
Usuario no validado | | Fecha de Ingreso: julio-2001
Mensajes: 766
Antigüedad: 23 años, 6 meses Puntos: 0 | |
otra alternativa
<script language="Javascript">
function cual(form)
{
var n=form.selectedIndex
switch(n)
{
case 0: correo.action="particular.jsp"; break;
case 1: correo.action="globlemente.jsp"; break;
}
}
</script>
<form name="busqueda" action="hotmail.jsp">
busca
<input name="a" type="text" value="">
<select name="cuals" onchange="cual(this)">
<option>particular
<option>globalmente
</select>
<input type="submit" value="enviar">
</form> |