there is a site example.com
iframe is embedded in it on othersite.com
in case of an error, the iframe gives the code:
<form id="return" action='example.com/error' target='_parent'></form> $(function(){$('#return').submit();}); The problem is that the redirect occurs on example.com, but it is necessary that the iframe itself be redirected to example.com/error
I tried to wrap in 2 iframe but so example.com began to open in a new window, which is also not true. Tried to give id, name ifram equal to "_parent", did not work.
Tell me what I'm doing wrong, how to solve the problem?
target='_parent'if you don’t have access yourself, contact the developers othersite.com - Grundy