OK I want to pass two variables from a window to the one which originally opened it.
The code that opens the window:
Also on that parent page:
And on estimate.php:
Btw don't know why the forum is adding random spaces in
Can anyone help make this code work?
The code that opens the window:
Code:
window.open('/estimate.php','scrollbars=yes,menubar=no,height=480,width=515,resizable=yes,toolbar=no,location=no,status=no');
Code:
nextgridreferenceheightgained=document.newday.nextgridreferenceheightgained.value;
distancetonext=document.newday.distancetonext.value;
Code:
opener.nextgridreferenceheightgained="3";
opener.distancetonext="0";
Btw don't know why the forum is adding random spaces in

Can anyone help make this code work?