marthe
05-04-2005, 05:41 AM
I'm currently working on an e-mail newsletter which contains a response form that submits back to my website. How can I get the form to open a new browser window (when a reader submits it) so I can display a confirmation page. Everything I have tried opens the window and looks for the confirmation page on the local pc even though I use an absolute link to the site.
e.g
<form name="form1" method="post" target="pop" onsubmit="window.open('http://www.mysite.com/_scripts/processResponse.asp','pop','menubar=1,toolbar=1,resizable=1,scrollbars=1,width=760,height=500,left=0 ,top=0')">
or
<form name="form1" method="post" target="_blank" action="http://www.mysite.com/_scripts/processResponse.asp">
Please help!
e.g
<form name="form1" method="post" target="pop" onsubmit="window.open('http://www.mysite.com/_scripts/processResponse.asp','pop','menubar=1,toolbar=1,resizable=1,scrollbars=1,width=760,height=500,left=0 ,top=0')">
or
<form name="form1" method="post" target="_blank" action="http://www.mysite.com/_scripts/processResponse.asp">
Please help!