Currently, site A is embedded in a site B’s iframe. For one .php page, I’d like to jump out of the parent iframe when submitting to the page:
<form method="post" action="home.php" name="homeForm" target="_blank">
However, this will pop up a new window.
Is there a way to jump out of the iframe but remind in the same browser window?
The usual approach is to use
target="_parent"ortarget="_top".As per the HTML 4 specification:
However, it should be noted that the use of iframes, etc. isn’t a part of the HTML5 specification.