Comunidad de diseño web y desarrollo en internet online

Detener setInterval desde si mismo.

Citar            
MensajeEscrito el 01 Sep 2007 12:08 am
Señores quisiera saber si existe alguna manera de detener un setInterval desde si mismo.

Código :

setInterval(function(){ 
   if(t=y) clearInterval();
}, 1000);


Es que no lo quiero adjuntar el set Interval a ninguna variable :cry:

Por neohunter

Claber

563 de clabLevel

1 tutorial

 

Bogota, Colombia

firefox
Citar            
MensajeEscrito el 01 Sep 2007 12:17 am
Pues, si no quieres adjuntarlo a una variable, entonces no hay nada que hacer...

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 01 Sep 2007 12:39 am
ches, entonces a un array.

Por neohunter

Claber

563 de clabLevel

1 tutorial

 

Bogota, Colombia

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.