Code to create a window; (This works fine with other uses .i.e just to get a window open)
[CODE]
<script language=”JavaScript” type=”text/javascript”>
//<!–
function openwins(page) {
sitewindow = window.open(page,’newwin’,’resizable=1,left=0,top=0,toolbar=no,menubar=no,scrollbars=yes,width=450,height=200′)
}
//–>
</script>
This code is supposed to launch the window and get the POST data from the form (form here is simplified version of actual form. The <form …> line is the same however.
[CODE]
<form name=’contact’ action=”javascript:openwins(‘myfile.php’)” method=’POST’ >
<input type=”text” name=’var1′>
</form>
Anyhow it appears that the code launches the window with the file myfile.php fine. How ever it reports errors which indicates no data was received. If I just have <form ACTION = “myfile.php” method=”POST”> then every thing works as expected.
So is there a way of launching a window and still get the POST data to the file launched in that manner?
One other question. How do I mark a message thread as resolved? I have another thread that is resolved that I would like to mark as such.