Reload iframe inside a modal

Asked

Viewed 210 times

0

Look at my scenario.

inserir a descrição da imagem aqui

On the parent page I have 3 Ivs. modalFilha2, modalFilha2, modalFilha3 on which I will call according to the page I am. When I am in the father the links call the file1 and add an iframe with the page I want, and so on.

What I need is, page filha2 to reload the filha1. From the filha3 to reload the filha2.

I tried to window.parent.location.reload(); call it on the file2 to recharge the file1, but he always carry the father.

  • What is the need to open so many windows in chain like this?

  • Browsing between screens without using history, keeping navigation as if it were desktop!

  • 1

    window.parent.Document.getElementById(iframe).contentDocument.Location.Reload(true); see https://answall.com/questions/54295/manipular-um-iframe-atrav%C3%A9s-de-other-iframe

1 answer

-2

  • Don’t just indicate that you solved it. Put here the code you used to solve so that future people with the same problem can benefit from your question.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.