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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with passing values from parent form to popup

Status
Not open for further replies.

linuxjr

Programmer
Jun 2, 2001
135
US
Hello All,
First I want to apologize if this has been asked but my searches didn't return exactly what I needed. I have a simple form with two date values and two text values. I have the code for my form:
<form name=frmEntry Action=runreport.asp .... >
The submit button executes the runreport.asp passing my values with no problems. Now I like to convert the runreport into a popup window.

So in my submit button I have onclick=window.open('runreport.asp'....). This works fine now it doesn't take none of my values that I know are the same ones that I can run previously they all are passing blanks when I use
request.form(&quot;...&quot;) etc..

I am looking for examples how to pass values from a parent form to a popup window. Any links or assistance will be greatly appreciated. Have a great day.
 
I figured it out and for those who wants to know the answer which was another item to my form html code
<FORM NAME=&quot;frmEntry&quot; ACTION=&quot;runreport.asp&quot; METHOD=&quot;post&quot; onSubmit=&quot;window.open('','popup_window','toolbar=1,scrollbars=10,location=0,statusbar=0,menubar=0,resizable=0,width=550,height=500')&quot; target=&quot;popup_window&quot;>

Just change the width and height to what is comfortable for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top