Ajouter un tag avec un formulaire ?
Bonjour,
Est-il possible d'intégrer un tag de ce type dans un site ASP.net ?
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<script type="text/javascript">
var a = {
popup: function (form) {
if (!window.focus) return true;
window.open('', 'b', 'height=350,width=600');
form.target='b';
return true;
}
}
</script>
<form method="post" action="http://www.a.com/share.php" onSubmit="a.popup(this)">
<input type="hidden" name="a[id]" value="9863">
<input type="image" src="http://static.a.com/images/bouton.png" />
</form> |
Celui qui doit l'intégrer me dit que c'est impossible car il va avoir deux forms dans sa page ce qui est impossible en ASP.net
D'après ce que j'ai lu oui c'est impossible dans avoir deux du type runat="server".
Donc au final, ce tag est-il réellement impossible à intégrer pour quelqu'un en ASP.net ?