Stormvdm
asked on
post form1 to pop up window > post form2 on popup to self > change value form3 to main window.
Ok here goes!
I have a form (form1) in a main window (lets call it window no.1) that posts date values that will be calculated on a pop up window (window no.2).
Here is the code for the pop up:
<script language="JavaScript">
<!--
function openWin(wName, wWidth, wHeight, wResize)
{
features = 'scrollbars=1,status=0,res izable=' + ((wResize) ? 1 : 0) + ((wWidth) ? ',width=' + wWidth : '') + ((wHeight) ? ',height=' + wHeight : '');
popWin = window.open('', wName, features);
if(popWin.focus) { popWin.focus(); }
return true;
}
// -->
</script>
<form action="/PriceCalculator/p opup.asp" method="post" name="CheckAvailibilty" target="newWin" onSubmit="return openWin(this.target, 370, 400, false)">
On the pop up I have a similar form (form2) that posts the values to the same page. I need some of the returned values to be 'inserted' to a seperate form (form3) on my original window (window no. 1) through a hyperlink without closing the pop-up window and without posting the page.
Somehow the first page (form and form field) needs to be referenced when opening the first pop-up I think.
I hope the above is clear. Any help will be appreciated.
Regards, Storm
I have a form (form1) in a main window (lets call it window no.1) that posts date values that will be calculated on a pop up window (window no.2).
Here is the code for the pop up:
<script language="JavaScript">
<!--
function openWin(wName, wWidth, wHeight, wResize)
{
features = 'scrollbars=1,status=0,res
popWin = window.open('', wName, features);
if(popWin.focus) { popWin.focus(); }
return true;
}
// -->
</script>
<form action="/PriceCalculator/p
On the pop up I have a similar form (form2) that posts the values to the same page. I need some of the returned values to be 'inserted' to a seperate form (form3) on my original window (window no. 1) through a hyperlink without closing the pop-up window and without posting the page.
Somehow the first page (form and form field) needs to be referenced when opening the first pop-up I think.
I hope the above is clear. Any help will be appreciated.
Regards, Storm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
************************** ********** ********** *********
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
************************** ********** ********** *********
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area:
RECOMMENDATION:
- [Points to Zvonko Grade A]
Please leave any comments here within the next seven days.
************************** ********** ********** *********
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
************************** ********** ********** *********
jAy
EE Cleanup Volunteer
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
**************************
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area:
RECOMMENDATION:
- [Points to Zvonko Grade A]
Please leave any comments here within the next seven days.
**************************
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
**************************
jAy
EE Cleanup Volunteer
The window name is then the frame name.