So I read thru some old threads, but couldn't quite find this situation.
I have a link in script1 that open's a pop up window and send's some info to that new script (we'll call it script2). I am also using onClick in the link to submit a form back to script1 so it will redraw a table.
I am able to pass the var to the new window just fine, but the window that contained the results of script one now just says [object]. Here is the line of code that I am using for the link.
print <<< HERE
<form name=wr action=script1.php4 method=post><input type=hidden name=cmd value=r>
</form>
<a href=javascript:newWin=window.open('script2.php4?it=$key',
'PopUp','width=550,height=650,scrollbars=no,resizable=no,top=1,left=1,screenX=1,screenY=1,status=no,target=_self'); onClick=document.forms.wr.submit(); newWin.focus(); )>
HERE;
Any idea's
Thanks is advance
Tj