Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/03/2002, 21:47
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 1 mes
Puntos: 38
Re: Ayuda Urgente!!!!

Hola Lestlie.

Me estas dando la oportunidad de probar mi nueva forma de indentar código en Foros del Web al estilo Bet. Aqui vamos:

Código:
________________________________________________________________________________
<html>
 <head>
  <script language="JavaScript">
   function fechaYHora(){
    var oCntrl = document.formulario.userTxt;
    var hoy = new Date();
    oCntrl.value = oCntrl.value + "\nFecha: " + hoy.toString();
   }
  </script>
 </head>
 <body>
  <form name="formulario">
   <textarea name="userTxt">
   </textarea><br>
   <input type="button" value="Incluir hora y fecha" onclick="fechaYHora()">
  </body>
 </form>
</html>
________________________________________________________________________________
Saludos.