Dave wrote:
> I think you are missing the point. If you want to POST a form into a popup
> window, use the TARGET attribute of the FORM element
Thanks Dave... I appreciate your help. Maybe I should be getting away
from <body onload...
Anyway, below is my lastest attempt... opens the new window but no data
submitted to new window. Can you see the problem?
<form name="frmTemp" action="wor_alert.asp" method="POST"
target="newWin">
<input type="hidden" name="wono"
value="<%=request("wono")%>">
</form>
<body onload="myFunc1();"></body>
function myFunc1() {
var newWin =
window.open("wor_alert.asp","newWin","width=600,he ight=550,scrollbars=yes,resizable=yes,status=yes,t op=10,left=50");
newWin.document.frmTemp.submit();
}
|