Jony Walker Posted November 30, 2006 Report Share Posted November 30, 2006 Tenho um form que está dentro de um iframe... quando for enviado ele deve redirecionar para uma página de agradecimento diretamente, mas FORA do iframe... como posso fazer isso com JavaScript, já que a página que carrega o iframe não tem frames ??? Quote Link to comment Share on other sites More sharing options...
0 Anti-puff Posted November 30, 2006 Report Share Posted November 30, 2006 use parent.location Quote Link to comment Share on other sites More sharing options...
0 Jony Walker Posted November 30, 2006 Author Report Share Posted November 30, 2006 direto? tipo parent.location = ("pagina.htm") Quote Link to comment Share on other sites More sharing options...
0 Anti-puff Posted November 30, 2006 Report Share Posted November 30, 2006 <script>parent.location='pagina.html';</script> Quote Link to comment Share on other sites More sharing options...
Question
Jony Walker
Tenho um form que está dentro de um iframe... quando for enviado ele deve redirecionar para uma página de agradecimento diretamente, mas FORA do iframe... como posso fazer isso com JavaScript, já que a página que carrega o iframe não tem frames ???
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.