I tried this,
But I get an error from the browser that the object doesn't exist.
My Frameset is build like this:
<html>
<head>
<title>Order Uitgeven</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<?PHP
$POST[id] = $GET[id];
print("<frameset rows=\"50,\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">");
print("<frame src=\"selected_order.php?id=".$POST[id]."\" name=\"topFrame\" scrolling=\"NO\" noresize >");
print("<frameset cols=\",450\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">");
print("<frame src=\"order_add_tw.php?id=".$POST[id]."\" name=\"mainFrame\">");
print("<frame src=\"order_add_list.php?id=".$_POST[id]."\" name=\"rightFrame\">");
print("</frameset>");
print("</frameset>");
?>
<noframes><body>
</body></noframes>
</html>
Maybe this gives you a clue, because I really don't know anything about Java-scripting. I just begon with PHP.