programmher
Programmer
G'day!
I am attempting to update the value of one field from my parent window with the value of a field in my child window.
My window.opener command appears to work (.e. I can see the value of my variable in my debugger) but when I complete the execution, a zero is what is passed.
What is happening? My code is as follows:
<form>
function SetEstimate()
{
window.opener.EstimateForm.final_estimate.value = '#final_est#';
window.close();
}
<A HREF="Javascript:SetEstimate();">
#GetEstimate.final_est#
<a>
</form>
(GetEstimate is the name of my query that executes earlier in the child form.)
I am attempting to update the value of one field from my parent window with the value of a field in my child window.
My window.opener command appears to work (.e. I can see the value of my variable in my debugger) but when I complete the execution, a zero is what is passed.
What is happening? My code is as follows:
<form>
function SetEstimate()
{
window.opener.EstimateForm.final_estimate.value = '#final_est#';
window.close();
}
<A HREF="Javascript:SetEstimate();">
#GetEstimate.final_est#
<a>
</form>
(GetEstimate is the name of my query that executes earlier in the child form.)