I have a link inside an iframe
that I want to go to the parent window. I set the target
to _parent
, but it opens in an entirely new tab, instead of in the parent page.
<iframe>
<a href="" target="_parent">go to parent window!</a>
</iframe>
This is in JSFiddle, so I thought maybe they were intentionally blocking target="_parent"
, but I can't see how.
Here's the link to the JSFiddle. Click on the button that says "Continue to next page of demo »" to see the behavior I'm describing.