Ver Mensaje Individual
  #12 (permalink)  
Antiguo 30/08/2010, 15:04
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 17 años, 4 meses
Puntos: 126
Respuesta: Problema al verificar Formulario! :(

El script está en el archivo, no es un archivo .js. Por seguir con el ejemplo, me levanta el error que te mencionaba
Cita:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript">
function funcion() {
var año = 'hola';
alert(año);
}

funcion();
</script>
</head>
<body>
</body>
</html>
¿Extraño? Pues sí. Pero uso iso, no me levanta error
__________________
Los formularios se envían/validan con un botón Submit
<input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" />