Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Check box opens new window and checks a new box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Check box opens new window and checks a new box" Watch "Check box opens new window and checks a new box" New topic
Author

Check box opens new window and checks a new box

Curtis Lokszyn
Greenhorn

Joined: Apr 23, 2008
Posts: 4
I was wondering if there was any way to do this:

I have a site that has a catalog. There are 10 - 20 items per page and about 15 pages/categories. Each item will have a check box. When a checkbox is clicked a window will open (containing a list of EVERY item, quantities, etc.) and a check box next to that particular item will be automatically checked.

Then as the user clicks through the catalog and checks off boxes they will be filled in in the new window as well.

Basically I need to know how to check a box in one window and have it check a box in another window at the same time.

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

If the secondary window is opened with window.open(), the parent window will receive a reference to the child window, and the child window can access the parent through the opener reference.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check box opens new window and checks a new box