Bouton de validation
superjojo01
Messages postés
525
Statut
Membre
-
superjojo01 Messages postés 525 Statut Membre -
superjojo01 Messages postés 525 Statut Membre -
Bonjour, je voudrais faire un bouton de validation de type :
on clique sur un bouton radio ( un petit bouton rond )
qui servira a selectioner la langue,
on valide aprés et sa nous ouvre sur une page .
on clique sur un bouton radio ( un petit bouton rond )
qui servira a selectioner la langue,
on valide aprés et sa nous ouvre sur une page .
A voir également:
- Bouton de validation
- Ethernet n'a pas de configuration ip valide - Guide
- Diagnostic bouton photo - Accueil - Outils
- Commande en cours de validation fnac - Forum Consommation & Internet
- Bouton shift pc ✓ - Forum Jeux vidéo
- Temps validation annonce le bon coin - Forum Hotmail / Outlook.com
1 réponse
Salut, tu devrai préciser un peu ce que tu veux faire parce que c'est un peu vague tout ça ^^
Sinon si on imagine que tu a le choix entre plusieurs parfum, que tu choisis par exemple le chocolat (bouton radio) et que tu clique sur un bouton "ok", tu dois utilise une form!
exemple:
<form action="page2.php" method="post">
<input type="radio" name="parfum" value=1 checked />Vanille
<br />
<input type="radio" name="parfum" value=2 />Chocolat
<br />
<input type="radio" name="parfum" value=3 />Fraise
<br /><br />
<input type="button" value="Valider" />
</form>
Voila !
A+
Sinon si on imagine que tu a le choix entre plusieurs parfum, que tu choisis par exemple le chocolat (bouton radio) et que tu clique sur un bouton "ok", tu dois utilise une form!
exemple:
<form action="page2.php" method="post">
<input type="radio" name="parfum" value=1 checked />Vanille
<br />
<input type="radio" name="parfum" value=2 />Chocolat
<br />
<input type="radio" name="parfum" value=3 />Fraise
<br /><br />
<input type="button" value="Valider" />
</form>
Voila !
A+
tu répond a ma question, OUI
mais un nouveau probleme est survenu.
Je te pace l'enssenble de la page :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>1ere page</title>
</head>
<body
style="color: rgb(0, 0, 0); background-color: rgb(147, 171, 255);"
alink="#000099" link="#000099" vlink="#990099">
<div
style="text-align: center; font-family: Arial Black; font-weight: bold; font-style: italic;">
<h3><br>
<span
style="font-family: Times New Roman,Times,serif; font-weight: normal;"></span></h3>
<h3><span
style="font-family: Times New Roman,Times,serif; font-weight: normal;">Sélectionnez
votre langue :</span></h3>
<div style="margin-left: 40px;"><br>
</div>
<form action="page2.php" method="post"> <input
name="parfum" value="1" checked="checked"
type="radio"><span
style="font-family: Times New Roman,Times,serif; font-weight: normal;">Français</span><br>
<input name="parfum" value="2" type="radio"><span
style="font-family: Times New Roman,Times,serif; font-weight: normal;">English</span><br>
<input name="parfum" value="3" type="radio"><span
style="font-family: Times New Roman,Times,serif; font-weight: normal;">España
</span></form>
<form action="page2.php" method="post"><span
style="font-family: Times New Roman,Times,serif; font-weight: normal;"></span><br>
<br>
<input value="Valider" type="button"> </form>
<h4><input style="font-family: Arial; font-weight: bold;"
id="mon_bouton" value="1" name="mon_bouton"
type="checkbox"><span
style="font-weight: bold; font-family: Times New Roman,Times,serif;"> </span><span
style="font-weight: normal; font-family: Times New Roman,Times,serif;">autre</span></h4>
<h4><span style="font-family: Times New Roman,Times,serif;"><span
style="font-family: Times New Roman,Times,serif;"><span
style="font-family: Times New Roman,Times,serif;"><span
style="font-family: Times New Roman,Times,serif;"></span></span></span></span><span
style="font-weight: normal; font-family: Times New Roman,Times,serif;">Pour
le moment seulement trois</span></h4>
<h4><span
style="font-weight: normal; font-family: Times New Roman,Times,serif;">language
sont disponible</span></h4>
<br>
</div>
</body>
</html>
et justement, je voudrais pouvoir ouvrire une page differente,
cellon la réponsse choisit, merci d'avance