Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

85
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!