Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

184
Vistas
When one jsp composes part of the screen via ajax, how do I stop the interval?

My screen is a dynamically loaded screen. When frame.jsp is created, main.jsp is called through ajax and the screen is created through ajax in main.jsp

My problem is monitoring.

Monitoring should receive data in real time. I get this by using setInterval. The problem is that when monitoring.jsp is called multiple times, setInterval is also called multiple times, causing an error.

If main.jsp calls monitoring.jsp, I want to solve this only in monitoring.jsp without touching main.jsp. Is there a way to find the interval called earlier in monitoring.jsp and stop it?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda