A voir également:
- Désactiver zone de texte
- Desactiver rond bleu whatsapp - Guide
- Alternative zone telechargement - Accueil - Outils
- Desactiver uac - Guide
- Désactiver compte facebook - Guide
- Traitement de texte gratuit - Guide
6 réponses
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<div class="Style8" id="Layer14"><strong>Mode:</strong></div>
<div id="Layer2">
<label></label>
<form id="form1" name="form1" method="post" action="">
<p>
<label>
<input type="radio" name="Groupe de boutons radio1" value="bouton radio" />
Control</label>
<br />
<label>
<input type="radio" name="Groupe de boutons radio1" value="bouton radio" />
Instruction</label>
<br />
</p>
</form>
</div>
<label><span class="Style3">Reception </span><strong>: </strong>
<input type="text" name="textfield2" />
</label>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<div class="Style8" id="Layer14"><strong>Mode:</strong></div>
<div id="Layer2">
<label></label>
<form id="form1" name="form1" method="post" action="">
<p>
<label>
<input type="radio" name="Groupe de boutons radio1" value="bouton radio" />
Control</label>
<br />
<label>
<input type="radio" name="Groupe de boutons radio1" value="bouton radio" />
Instruction</label>
<br />
</p>
</form>
</div>
<label><span class="Style3">Reception </span><strong>: </strong>
<input type="text" name="textfield2" />
</label>
</body>
</html>
essaye :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <div class="Style8" id="Layer14"><strong>Mode:</strong></div> <div id="Layer2"> <label></label> <form id="form1" name="form1" method="post" action=""> <p> <label> <input type="radio" name="Groupe de boutons radio1" value="bouton radio" onclick="textfield2.style.visibility='visible'" /> Control</label> <br /> <label> <input type="radio" name="Groupe de boutons radio1" value="bouton radio" onclick="textfield2.style.visibility='hidden'" /> Instruction</label> <br /> </p> </form> </div> <label><span class="Style3">Reception </span><strong>: </strong> <input type="text" name="textfield2" /> </label> </body> </html>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Si c'est possible de le desactiver et pas le cacher:
Remplace le
textfield2.style.visibility='hidden'
par
textfield2.disabled =true;
disabled prends les valeurs true ou false.
Nep
http://www.cultureg.com
Remplace le
textfield2.style.visibility='hidden'
par
textfield2.disabled =true;
disabled prends les valeurs true ou false.
Nep
http://www.cultureg.com
Oui c'est normal il faut la réactiver en remplacant:
textfield2.style.visibility='visible'
par
textfield2.disabled =false;
sur ton premier bouton
Nep
http://www.cultureg.com
textfield2.style.visibility='visible'
par
textfield2.disabled =false;
sur ton premier bouton
Nep
http://www.cultureg.com