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

89
Vistas
Not able to read value from window.returnvalue

I am calling a third party URL from my application using window.showModalDialog

tfaData = window.showModalDialog(cdBaseURL+"?CALLTYPE=GET_TWOFACTOR_AUTH_PAGE&LCLANG="+langCode+"&USERID="+username,argArr,"dialogWidth:626px;dialogHeight:500px;status:No;help:No;resizable:No;scroll:No");
            //alert(tfaData);
            alert(tfaData.UserID);
            alert(tfaData.Errorcode);
            alert(tfaData.Errormsg);
            alert(tfaData.Token);

The problem is the third party URL is returning the required values but I am not able to read the values in tfaData. Below is the third party code

Third party page code

How can I modify my js file to read the response?

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