Hello,
I am having trouble getting what should be simple to work.
On my site we display peoples bills, we link to the companies website when viewing a specific link, this si done by passing the variables through a post/submit, the code is below.
I use the Onsubmit portion to setup the window name.
Now I have in the javascript section;
And the portion that calls that is;
Unfortunately This is not working, I have tried a number of variances found from other sites but I am having NO luck.
Any ideas what I am doing wrong.
I am having trouble getting what should be simple to work.
On my site we display peoples bills, we link to the companies website when viewing a specific link, this si done by passing the variables through a post/submit, the code is below.
Code:
<form name="frmBill" method="post" target="_SELF" action="www.someURL.com /printbill.do" onSubmit="Billing = window.open("Billing")">
Now I have in the javascript section;
Code:
function closePage()
{
if (Billing != null) Billing.close();
}
Code:
<body style="margin:0px" onunload=newWin.close();>
Any ideas what I am doing wrong.
Comment