Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/08/2011, 06:53
Avatar de ceSharp
ceSharp
 
Fecha de Ingreso: octubre-2008
Ubicación: Madrid
Mensajes: 495
Antigüedad: 15 años, 6 meses
Puntos: 66
Respuesta: Imprimir resultado javascript

vale,
hay unas cuantas formas, te podría valer si tienes un <DIV> en tu html:

Código Javascript:
Ver original
  1. if (time == 0) {
  2. time = calctime();
  3. document.getElementById('tu_div').innerHTML = time;
siempre que tengas un <DIV> con ID='tu_div' (o con el id que más te guste)

saludos.