Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Communicate from a Popup Window back to the Parent Window

Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really need help badly. I have searched for a solution and tried many different ways.

My parent window wants to access the value of a text field in its popup window. The file name of the popup window is kept in a configuration file. I have managed to navigate from the parent window and popup a child window. The child window has a form, which has a text field and a button to submit the form. I just could not get the JavaScript specification in the popup window right. How do I pass the value that is entered by users in the text field to the buttion? So that the value can be picked up by the JavaScript in the popup window? Note that my browser thinks that the attribute called "var" is invalid in the input text field.

Here is the code for the parent window:

Here is the code for the popup window:

[ September 27, 2005: Message edited by: Bear Bibeault ]
Posts: 15385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

today's feeble attempt to support the empire
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic