without doing the submit, this is a javascript issue (1st solution):
afaik it works if the windows are related to each other, meaning, there is one window which has opened the other one like this:
myChildWindow = window.open("xyz.html", "otherwindow", "width=300, height=200, scrollbars");
now you can place a js code in your child window thich refers to the other window via "opener" -
<a href="javascript:opener.close()">close the opener window</a>
- or vice versa (in the opener window🙂
<a href="javascript:myChildWindow.close()">close the child window</a>
instead of close, you are fee to access all elements contained in the window, for example the checkbox (child window code):
opener.document.myFirstForm.myCheckbox.checked = true;
in german language I know an excellent on-line manual: de.selfhtml.org with lots of working examples.
the above solution does not require a submit.
2nd solution - includes submit, php usage:
you have 2 windows related as in the first example.
now if you submit the child window, it posts its data to itself or another script which (PHP) recognizes that there was a form submit and places a javascript in the reply that reloads the opener window with a flag that means "tick your checkbox" (opener.document.href="xxx.php?tick=1")
now when the opener windows reloads, it reacts upon the $_GET['tick'] parameter you sent to it by generating a ticked checkbox
echo "<input type=\"checkbox\" name=\"bla\" value=\"123\"".($_GET['tick'] == 1 ? ' checked="checked"' : '')."</input>"
choose which way is more suitable for your purpose.