Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/07/2007, 13:55
zagduami
 
Fecha de Ingreso: agosto-2006
Mensajes: 61
Antigüedad: 17 años, 8 meses
Puntos: 0
Forma en un correo

Hola a todos!
Deseo agregar una forma a un correo con el siguiente código:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.button{
font-size:10px;
font-family:Verdana,Helvetica;
font-weight:bold;
color:white;
/*background:#638cb5;*/
background:#0082B4;
border:0px;
width:80px;
height:19px;
}
.azul {
color: #10316B;
font-weight: bold;
font-size: 16px;
}

</style>

<script language="javascript">
function envia()
{
var errores;
errores=0;
if(document.prueba.valor.value=="")
errores++;
if(errores>0)
alert("Ingrese su nombre");
else
document.prueba.submit();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Forma Simple</title>
</head>
<body>
<center>
<form name="prueba" action="lee_forma.php" method="post">
<br />
<b class="azul">Ingrese su nombre:</b>&nbsp;<input type="text" name="valor"/>
<br /><br />
<input type="button" class="button" name="aceptar" value="Aceptar" onClick="envia()">
</form>
</center>
</body>
</html>

Funciona montada en un servidor, pero al recibirlo por correo aprieto el botón y no lo envia, ya le quite el javascript pensando que era eso y tampoco funciona.

Ayudanme por favor.