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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:16:54+00:00 2026-05-28T07:16:54+00:00

I have a pop up window that contains some selections. Once the user selects

  • 0

I have a pop up window that contains some selections. Once the user selects options, the selected options need to be displayed in the main window. The main window doesn’t need to be refreshed when options are selected from the pop up window. I’m using javascript for this, but I cannot figure out how to access the checkbox item of the pop up window from the main window.

Example:

<input type="checkbox" name="vehicle[]" value="Bike" /> 
<input type="checkbox" name="vehicle[]" value="car" />

var chbox = document.getElementById("vehicle[]").value; 

But this doesn’t work.

  • 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-28T07:16:54+00:00Added an answer on May 28, 2026 at 7:16 am

    Depends on how you open the popup window..

    If you open it with window.open then you can store the returned value from that command to a variable and use that to communicate with the window..

    for example

    var popup = window.open('url-here');
    // you can use popup.document to access the DOM of the popup window..
    alert( popup.document.getElementById('checkbox-id').value );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pop-up window a user logs into, once they are logged in
I have a form that contains a TextBox. A pop up window will return
I need a pop window which could not be refreshed by user. for that
I have a Qt main window that will pop up a dialog box that
I am coding an addin for Excel and have some pop up Forms that
I have a pop up button that is loaded with 5 options programicically, if
I have a NIB which contains two windows, one is the app's main window
I have the following JavaScript code to pop up a window in Internet Explorer.
I have a pop up form that i wish to close on successfull submit
I need to have a pop-up dialog like the Color Dialog or Save Dialog

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.