D
delphimania
Hi !
(Excuse my accent, i'm french -
I have a form like this
<form action="MyCGI.exe?" method="post" name="form1" target="?????">
My Form: First choice :
<input type="submit" name="Submit" value="Submit with _self target">
Second choice :
<input type="submit" name="Submit2" value="Submit with _blank target">
</form>
I would like browser to stay in same page if the first button is clicked,
and to open a new window il th second button is clicked.
Is there a possibility for this, for example with javascript function ?
I thought to make two independant Forms, but it's wrong because same
elements have to be transfered to CGI however button is clicked
Thanks for yous help
Chris
(Excuse my accent, i'm french -
I have a form like this
<form action="MyCGI.exe?" method="post" name="form1" target="?????">
My Form: First choice :
<input type="submit" name="Submit" value="Submit with _self target">
Second choice :
<input type="submit" name="Submit2" value="Submit with _blank target">
</form>
I would like browser to stay in same page if the first button is clicked,
and to open a new window il th second button is clicked.
Is there a possibility for this, for example with javascript function ?
I thought to make two independant Forms, but it's wrong because same
elements have to be transfered to CGI however button is clicked
Thanks for yous help
Chris