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

205
Vistas
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
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