Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:43:16+00:00 2026-06-18T10:43:16+00:00

A popup is fired from an iframe. Inside this popup im trying to link

  • 0

A popup is fired from an iframe. Inside this popup im trying to link the user to new page, this page should open on new tab on the parent, but for the popup the parent in this case is the iframe and not the container of the iframe (the parent of the iframe) where im actually want to open a new tab.

Is this possible? If not, how can I open the link on a new browser windows?

So far I tried this but is not working:

<button onclick="parent.window.open=('http://mysite.com/app_dev.php/gifts','_blank')" class="btn btn-primary">Altri Regali »</button>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:43:18+00:00Added an answer on June 18, 2026 at 10:43 am

    Try instead

    <button onclick="window.open('http://mysite.com/app_dev.php/gifts','_blank')" class="btn btn-primary">Altri Regali »</button>
    

    Fiddle here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is my parent page, from where i'm opening a popup <html xmlns=http://www.w3.org/1999/xhtml> <head
popup.html is popped up by script from parent.html: window.open('popup.html', '', 'width=520, height=300,left=500,top=0'); Is it
Following on from this question: Can't I use JQuery inside my FancyZoom popup? The
This popup prevent other scripts from running and prints the following: instruments[2596] : kCGErrorInvalidConnection:
I am using jquerymobile popup like this <div id=dialogs data-role=popup>......</div > calling this from
This image illustrates my problem: It's a popup-script from Sohtanaka I think, so what
I have a popup window (selectReasonCode) that is opened up from a button. The
hey, im new to android development and trying to make my first application. What
I'm fairly new to ASP.NET and trying to learn how things are done. I
I want to close a ShadowBox popup when the user clicks a button. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.