Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Submit Problem

Status
Not open for further replies.

Jastper

Programmer
Oct 4, 2002
13
0
0
GB
Hi, I have created a form with registration details which are then validated. when the form is submit I want the data to be displayed in a separate exporer window I am trying to use the below function to do this but I keep getting errors. Can any tell me if there is something else I could try?

window.opener.document.forms.myForm.submit();
 
If you want to submit your form to a different window, you need to target that window. Your line above tries to submit a form that is written on the opener page.

document.myFomr.action = window.opener //??????
document.myForm.target = window.opener
document.myForm.submit() Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048
Tek-Tips Best Practices: FAQ183-3179
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top