Can a child window post information back to the parent window?

M

Mike

I have a database query that displays results on page1.
I have set 6 of the query parameters with the LIKE operator.

Then I have a button that can be clicked to open a second window, that I am
calling a 'popup', that has a form with fields for those six parameters. I
then want the user to be able to fill in one or more of the fields and when
that form is submitted, I want that 'popup' window to close and have the
values from that form be passed back to page1 so I can insert them into the
dbase query.

Mikeal
 
J

Jim Buyens

You would have to write JavaScript code that:

1. Runs when the visitor clicks the button in the
"pop-up" window.
2. Copies all the form field values from the pop-up
window to the original form.
3. Submits the original form.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top