I have a quick lookup page that opens in a small window and when the
form on that page is submitted the results page is open in a smaller
window as well. I have everything working except passing the variable
to the results page. Hopefully someone can help me here:
Code...
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openMDialog(theURL,args,features) { //v2.0
var returnedValue = window.showModalDialog(theURL,args,features);
eval (returnedValue);
}
//-->
</script>
<form action="javascript:;" method="get" name="frmdte"
class="thinBorderGrey" id="frmdte"
onsubmit="MM_openMDialog('showsku.asp','','center: yes;help:no;resizable:no;scroll:yes;status:no;dial ogWidth:
450px;dialogHeight:300px')">
<table width="100%" border="0" cellpadding="6" cellspacing="0"
class="thinBorderGrey">
<tr>
<td><div align="center">
<input name="sku" type="text" id="sku" />
</div>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center">
<p>
<input type="submit" name="Submit" value="Submit"/>
</p>
</div>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF"</td>
</tr>
</table>
</form>
The field "sku" will not pass to the next page, even if I add:
onsubmit="MM_openMDialog('showsku.asp?sku=<%=Reque st.Form("sku")%>'
Any suggestions?