I have read many of the "open new window" q&a's posted on the site and I don't fond one that helps me out. So I appologize if this sounds repetative.
I have a form page that asks for the input variables. I pass them on to my php script and have the output html results emmbeded in the script. What I really want it to do is to open a new window via javascript to show the results in the new. Here is the begining of the embedded html code along with the javascript:print "\n";
print "<script language=\"javascript\" type=\"text/javascript\">\n";
//print"<!--\n";
//print"function openWin(url)\n";
//print"{\n";
print"window.open(\"\",'video','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=350,height=370');\n";
//print"}\n";
print"</script>\n";
print "<body><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\">\n"; ........
What happens is the window opens ok but the results remain on the "main" page. Any ideas how I can get the results into that newly opened window?