S
Sylvain Perreault
Hi,
here's my code:
<form action="mailing.php" method="post" target="mailing">
<div align="center">E-mail
<input type="Text" name="email">
<input name="action" type="hidden" id="action" value="add">
<input name="" type="submit"
onClick="javascript:window.open('','mailing','toolbar=0, location=0,
directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0,
menuBar=0, width=300, height=250')" value="Submit">
</div>
</form>
When I click on submit, everything is fine, a popup opens and the result of
the form is printed in it.
If I press ENTER, there's a new window opening but it's not the window in
OnClick
So, How can I have the same result in both case???
Thanks
Sylvain Perreault
here's my code:
<form action="mailing.php" method="post" target="mailing">
<div align="center">E-mail
<input type="Text" name="email">
<input name="action" type="hidden" id="action" value="add">
<input name="" type="submit"
onClick="javascript:window.open('','mailing','toolbar=0, location=0,
directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0,
menuBar=0, width=300, height=250')" value="Submit">
</div>
</form>
When I click on submit, everything is fine, a popup opens and the result of
the form is printed in it.
If I press ENTER, there's a new window opening but it's not the window in
OnClick
So, How can I have the same result in both case???
Thanks
Sylvain Perreault