je voudrais savoir comment faire pour ouvrir une popup en cliquant sur un bouton d'un form et non en cliquant sur un lien...
j'ai fait ça, mais ça ne marche pas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <HTML> <head></head> <script> function clic() { open('<a href="http://www.goggle.fr' , 'Google' , height=100" target="_blank">http://www.goggle.fr' , 'Google' , height=100</a> , width=200, resizable=no); } </script> <body> <form name="formName"><input type="button" value="Test" onclick="clic()"></form> </body> </HTML>
Partager