A voir également:
- [javascript]Onclick & button
- Telecharger javascript - Télécharger - Langages
- Node.js javascript runtime virus ✓ - Forum Virus
- Table de multiplication javascript ✓ - Forum Javascript
- Afficher/masquer div javascript onclick ✓ - Forum Javascript
- Javascript void 0 c'est quoi ✓ - Forum Réseaux sociaux
4 réponses
flokocha
Messages postés
1510
Date d'inscription
lundi 8 mars 2004
Statut
Membre
Dernière intervention
10 octobre 2015
280
16 juin 2004 à 16:29
16 juin 2004 à 16:29
Et si tu faisais tout simplement :
.::: "A trop vouloir feindre de faire fi, on finit
par faire fi de vouloir feindre." :::.
<body> <h3><center>que voulez vous modifier?<br></center></h3> <center> <input type="button" onClick="location.replace('creatruc.html');" value="truc"> <input type="button" onClick="location.replace('creabidule.html');" value="bidule"> </center> </body>
.::: "A trop vouloir feindre de faire fi, on finit
par faire fi de vouloir feindre." :::.
Marden
Messages postés
1072
Date d'inscription
dimanche 11 février 2001
Statut
Membre
Dernière intervention
29 janvier 2006
208
16 juin 2004 à 16:01
16 juin 2004 à 16:01
Essaie quelque chose comme çà :
avec :
<body> <h3><center>que voulez vous modifier?<br></center></h3> <center> <input type="button" onClick="choix('creatruc.html')" value="truc"> <input type="button" onClick="choix('creabidule.html')" value="bidule"> </center> </body>
avec :
function choix(nom){ windows.open(nom,"_self"); }