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 6121285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:46:00+00:00 2026-05-23T15:46:00+00:00

I have a page that loads a jQuery UI Dialog with an iFrame in

  • 0

I have a page that loads a jQuery UI Dialog with an iFrame in it. This iFrame has a login form, however I want a link in this iFrame that says “click here if you are a member” that they can click that will redirect the PARENT to a different page (and thereby close the modal).

Right now any links in the modal (and so in the iFrame) just redirects the iFrame)

Here is the code that calls the modal with the iFrame in it:

$(document).ready(function() {
$("#modalIframeId").attr("src","http://site.com/wordpress/register-now/?the_email_address=<?php echo $the_email_address; ?>");
$("#divId").dialog({
       autoOpen: true,
       modal: true,
       closeOnEscape: true, 
       draggable: false,
       resizable: false,
       dialogClass: 'no-close',
       height: 570,
       width: 500,
       title: 'Sign Up',
       close: function(event, ui) { window.location.href = window.location.pathname; }
   });
});

This is all within a WordPress framework and the page that is called above has the form in it (that works) and the is where a need to have a link to redirect the parent to another page.

Any thoughts?
Thanks! Chris

  • 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-05-23T15:46:01+00:00Added an answer on May 23, 2026 at 3:46 pm

    I guess sometimes the old=school “lo-tech” way is the one we often forget. Found this thread:
    Stack Overflow
    Which reminded me that target=”_top” would do what I needed…and it did. Tested in FF and Android and works well in both (wider testing expected to work well too).

    Thanks

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

Sidebar

Related Questions

I have a jQuery modal dialog that loads a different page on an iframe.
I have a JQuery dialog box on a page that calls something like this:
I have a web application that has a page that loads the content from
On an Aspx page, I have this markup (setup for a jQuery UI dialog):
With ASP.NET MVC3 (Razor) I have a simple page that loads a jQuery UI
On pdf downlaod link need to open a jQuery dialog and have a form
I want to raise a jQuery Dialog box which has 2 buttons. So that
I have a jquery dialog with a nested form like this: <!-- Store Location
I have a dynamic dialog being created that loads a page. The close buttons
I have an HTML link that opens a jQuery modal dialog which contains an

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.