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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:01:15+00:00 2026-05-12T14:01:15+00:00

This is the setup: I have two websites on two different domains: www.website1.com www.someotherwebsite.com

  • 0

This is the setup:

I have two websites on two different domains:

  • www.website1.com
  • www.someotherwebsite.com

This is what I want to do:

  1. When a user is on www.website1.com and clicks a link, I want a window to popup showing www.someotherwebsite.com.

  2. When the user clicks a button in the popup window (showing www.someotherwebsite.com) I want that window to close and have a value returned.

  3. I want the value returned from the popup window to be placed (into a div, or into a javascript call, or someplace accessible such as filling out a form field) on www.website1.com.

I hope that makes sense. I need to use just HTML and Javascript without external libraries. It also must work on current mainstream browsers (i.e. not be an HTML5 thing).

Thank you in advance for your help.

  • 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-12T14:01:15+00:00Added an answer on May 12, 2026 at 2:01 pm

    Well if you use an iframe in your pop up window [in this day in age I would avoid pop up windows like the plague due to pop up blockers]

    With an iframe you can make cross domain calls

    Why don’t you just develop a webservice from A to B and call it from A? Seems so much cleaner than finding small cracks in browsers to get around security.

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

Sidebar

Related Questions

I have a two models set up like this: class User < ActiveRecord::Base #
I have two websites, let's say they're example.com and anotherexample.net . On anotherexample.net/page.html ,
On my local setup I have a load of different CakePHP websites. I'm using
In our setup there are two different websites in IIS 7 setup that point
I have two public websites (foo.com and bar.com) that are pointed to a hardware
I have this setup in my models: class Author(models.Model): name = models.CharField(max_length=100) class Topic(models.Model):
On my portfolio page I have this setup: <div id=portfolio> <ul id=sites> <li> <h3><a
I have this following setup, a textarea named with some data in it that
I have a setup like this: http://jsfiddle.net/zzjSC/3/ and I am wondering why the surrounding
I have a setup like this: <div id=container> <div id=close>Close</div> </div> Then in my

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.