I'm using standard iFrame markup. Unfortunately, the page which I'm including in the iFrame runs some process that causes the page to reload and when it does, the entire window (including the parent) goes to the new URL. Is there a way to keep the activity within the iFrame?

1 answer


If it's for links, you can add target="_self" to the link tags to keep the URLs inside the iFrame. It's a depreciated element, though. See: Link Targets.

If you're not doing something activated via link click, there's probably some way to target the iFrame using JQuery. It might help if you described the "processes" ?

Answered almost 10 years ago by Tiffany S