Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

203
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda