Mon but est de "able/disable" un champ input type=password en fonction d'un champ radio
La desactivation marche mais pas l'activation :-/
Voici mon code:
html<form name="form6">
<table>
<tr>
<td>
<input type="radio" name="mode" value="cb" onClick="activer()">CB<br>
<input type="radio" name="mode" value="ae" onClick="activer()">AE<br>
<input type="radio" name="mode" value="ch" onClick="desact()" checked>cheque<br>
</td>
<td>
<input type="password" name="code" value="code" disabled>
</td>
</tr>
</table>
</form>
Javascript<script>
function activer()
{
window.document.form6.code.disabled="false";
}
function desact()
{
window.document.form6.code.disabled="true";
}
</script>
Si kelkun peu m'aider

...
MeuledoR