Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/01/2002, 11:01
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 22 años, 4 meses
Puntos: 38
Re: llamada a una función

Si se puede, algo así:

<html>
<head>
<script language="JavaScript">
function dia(){
document.writeln("Martes"); // Cualquier cálculo
}
</script>
</head>
<body>
<p> hoy es:
<script language="JavaScript">
dia();
</script>
</p>
</body>
</html>