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

112
Vistas
Why I cannot visualise an alert with a JSON on Javascript

I have a weird issue. I am on server using javascript files and try to collect info, data by JSON. The basically code, in a function that set a JSON.stringify() doesn't work, I browse it by Internet Explorer v.11

I have this function:

function testJSON(){

alert("here we are");
var obj = {answer:42};
alert("answer " + obj.answer);
alert(JSON.stringify(obj));
alert("end");
}

When I call the function I get popup with messages:

here we are

answer 42

but neither with the JSON or

end

What's wrong with my code?

I notice on the top of the jsp page this:

response.setHeader("Cache-control", "no-cache, no-store, must-revalidate");

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It works fine in internet explorer v11 for me.

about 4 years ago · Juan Pablo Isaza Denunciar
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