By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,643 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

close child, run ASP and display data in parent

P: n/a
I think this is a simple question. But I am new to JS. Here is what I
want to do:

From a parent window, open a popup window (child) to get data from
user, then user submit the request, close the child window, an ASP
page is generated from server and displayed with data in parent
window, rather than child window. Right now, I can display in child
window. But do not know how to display in parent.

TIA
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
One way to accomplish what you want is to capture the information you
want in the child and submit it (via URL) to the parent window ASP file,
then either close the child immediately or have the parent close it when
the ASP file is finished loading. This is essentially submitting the
form manually.

If you want to still use the form submission itself, try setting the
target="parent" -- I've not tried it, and I don't have access to anything
that I can use to test it right now. You'll have to perform the close in
the parent window (I believe).

Hope this helps.

N. Clements
Brainbench MVP for Javascript
www.brainbench.com
no****@spam.spam.spam.242.mailshell.com
Remove 2nd through 4th spam to reply.

cd***@hotmail.com (Joe D) wrote in news:d775f0aa.0306291314.2d38d037
@posting.google.com:
I think this is a simple question. But I am new to JS. Here is what I
want to do:

From a parent window, open a popup window (child) to get data from
user, then user submit the request, close the child window, an ASP
page is generated from server and displayed with data in parent
window, rather than child window. Right now, I can display in child
window. But do not know how to display in parent.

TIA


Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.