Hello All,

This page is a popup (http://www.example.com/PopUpPage.htm) launched by http://www.example.com/Parent-Page.asp
I want to close the popup and pass VARTOPASS to https://www.example.com/Not-The-Parent-Page.asp
Trying to figure out how to append DOCUMENT.FORM1.VARTOPASS.VALUE into URL parameter for onClick

Below is popup page: http://www.example.com/PopUpPage.htm

<html><head></head><body>
<form name="form1" method="post">
<select name="VarToPass">
<option value="Val1">Val1</option>
<option value="Val2">Val2</option>
</select>
<input onclick="opener.location='https://www.example.com/Not-The-Parent-Page.asp?PassThis=DOCUMENT.FORM1.VARTOPASS.VALUE';self.close();" type="submit" value="Submit">
</form>
</body></html>

Thank you,
Bob P.