Click to See Complete Forum and Search --> : popup window


mili
08-12-2003, 06:13 PM
Hi,
I want to open the page for price in a popup window and I also want to pass the following two hidden variables to the price page:

<table bgcolor="#5389BC" width="600" align="center" cellspacing="1" cellpadding="4">

<tr>
<td width="200" class="columnLabel"><a href="/Web/Workflow?action=SearchForm&amp;TableName=Prc">Price</a></td>
</tr>


</table>

<input type="hidden" name="recId" value="1">
<input type="hidden" name="recName" value="price">

Please can someone help me with this?

Thanks,

soccer362001
08-12-2003, 08:31 PM
Here is a popup script.


<script language="JavaScript">
<!--
window.open("noname.html","title","toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,width=320,height=120,left=100, top=100");
//-->
</script>

mili
08-12-2003, 10:18 PM
Thanks...but I need to be able to pass some variables to the new popup window.I cannot concatenate with the url string because my variables are way too large.How can I do this?

cflynn
08-12-2003, 11:04 PM
<head>
<script language="javascript">
<!--
function showPrice() {
window.open("about:blank", "price", );
document.form1.submit();
}
-->
</script>
</head>

<form name="form1" method="get" action="yourFormHandler" target="price">
<input type="hidden" name="recId" value="1">
<input type="hidden" name="recName" value="price">
</form>

<a href="#" onClick="showPrice();">Price</a>

Hope this helps.