<script type="text/javascript">
function createTarget(t){
window.open("", t, "width=400,height=200");
return true;
}
</script>
<script type="text/javascript">
function search() {
document.team.submit();
}
</script>
<form name="formulaire1" action="page1.php" method="post">
<p><input type="text" name="champ1">
<br><input type="text" name="champ2">
<br>
<input type="button" value="RECHERCHER" onClick="document.formulaire2.submit();">
<br><input type="button" value="Envoyer">
</form>
<form name="formulaire2" action="page2.php" onsubmit="return createTarget(this.target)" target="formtarget" method="post">
<input type="hidden" name="champ3" value="1234">
<input type="hidden" name="champ4" value="1234">
<input type="submit" value="Popup de test">
</form>
Partager