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!

Submit results in a new window

Status
Not open for further replies.

nivone

Programmer
Jul 2, 2002
33
0
0
IL
HI,

I have a form with a submit button that executes a perl script (post=..)
I want that the script will run in a new window and not in the same window.
How do I do that?
 
There are many ways that you can do this. One of them is to open another window with your Perl action file with all parameters of forms field in the url.

onClick=openWin() {
a=escape(document.formname.fieldname1.value);
b=escape(document.formname.fieldname2.value);
c=escape(document.formname.fieldname3.value);
....
myWin=window.open('PerlActionfile.pl?fieldname1='+a+'&fieldname2='+b+'&fieldname3='+c+...',"newWin');
}

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top