PC Review


Reply
Thread Tools Rate Thread

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

 
 
Mike
Guest
Posts: n/a
 
      13th Jan 2004
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





 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      13th Jan 2004
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)
|/---------------------------------------------------
*----------------------------------------------------



>-----Original Message-----
>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
>
>
>
>
>
>.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
post back on the parent window when pop-up is closed ram_kri Microsoft ASP .NET 4 1st Sep 2006 01:00 PM
RE: Open parent window then child window - parent loads after? =?Utf-8?B?cmFqYW1hbmlja2Ft?= Microsoft Dot NET Framework Forms 0 4th Aug 2004 04:07 PM
Solution: Raising an Event Handler Postback on Parent Window From Popup Child Window Dialog Box Earl Teigrob Microsoft ASP .NET 1 16th Jun 2004 05:19 PM
IE Problem: When a child window opens, the parent window closes Peter Wallace Windows XP Internet Explorer 1 2nd Mar 2004 02:50 AM
Parent window not closing HTTP Connections made by child window Sameer Fegade Windows XP Internet Explorer 1 25th Feb 2004 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:20 PM.