Ack... so close... so close...
It's almost working perfect, except that I'm getting a security warning when I try to send the submit() into the pop up. The site is https and the popup is considered unsecured, so I'm getting a warning that, "You are about to leave a secure Internet connection..."
If I put a dummy argument into the url parameter of the window.open() function, it gets rid of the warning, but that's not a good fix because really what is happening in the background is a "failed to load page" and I'm just quickly overwriting that with my cgi output. That's shoddy... I'd like to get that cleaned up. Any ideas?
Here's where I'm at now...
the blank.htm is the dummy argument.
<form method="POST" action="cgi/mou_create.cgi"
<input type="hidden" name="Action" value="none">
<button type="button" onclick="doSubmit(this.form,'save');">Save</button>
<button type="button" onclick="doSubmit(this.form,'submit');">Submit</button>
var h_win = window.open("blank.htm","popsub","height=200,width=200,toolbars=no,resize=no,status=no");