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

198
Views
How to listen to click API call in iframe?

I have an iframe in a modal and my code looks like this:

<Modal>
   <iframe srcdoc={data.htmlString}></iframe>
<Modal>

In that Iframe I have 3D secure payment page and it works as needed. However I want to know how to listen if user clicked on "Submit" button in that iframe after entering the code and the API was called (inside Iframe)? Because according to the answer of the API I have to redirect the user to one or other page. Is is done with eventListener? Or which parameter I should listen with in useEffect? I don't use classes, I use functions.

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!