Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/08/2009, 13:01
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 17 años, 4 meses
Puntos: 126
Respuesta: Cálculo tiempo peticion ajax

Hola

Algo así

Código javascript:
Ver original
  1. if (ajax.readyState==1  || ajax.readyState==2 || ajax.readyState==3) {
  2. // CRONOMETRO
  3. function crono() {
  4. ...
  5. }
  6.  
  7. if (navegador == "Microsoft Internet Explorer") {
  8. document.getElementById("elemento").innerText = tiempo;
  9. } else {
  10. document.getElementById("elemento").textContent = tiempo;
  11. }
  12. }

Suerte
__________________
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;" />