function GereControle(Controleur, Controle) { document.getElementById(Controle).style.visibility=(Controleur=='radio_10')?'visible':'hidden'; }
<table width="568" border="0"> <tr> <td width="65">Assure</td> <td width="70"><input type="radio" id="radio_10" name="radios_0" onClick="GereControle('radio_10', 'liste_10');" CHECKED> <label for="radio_10">Oui</label></td> <td width="419"><input type="radio" id="radio_20" name="radios_0" onClick="GereControle('radio_20', 'liste_10');"> <label for="radio_20">Non</label></td> </tr> </table>
<table width="568" border="0">
<tr>
<td width="80">Assure ?</td>
<td width="58"><label><input type="radio" name="choix" value="1" /></label></td>
<td width="58">Oui</td>
<td width="54"><label><input type="radio" name="choix" value="0" /></label></td>
<td width="296">Non</td>
</tr>
</table>
</div>
<div id="hidden">
<form id="form1" name="form1" method="post" action="">
<table width="497" height="203" border="0" align="left" bgcolor="#FFFFFF">
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td width="110"><span class="Style13">Nom assurance</span></td>
<td><input name="nom_assurance" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td>
</tr>
<tr>
<td><span class="Style13">Nom Société</span></td>
<td><input name="nom_societe" type="text" size="50" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; width:150px'/></td>
</tr>
<tr>
<td><span class="Style13">Nom de l'assuré</span></td>
<td><input name="nom_assure" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td>
</tr>
<tr>
<td><span class="Style13">Numéro de carte d'assurance:</span></td>
<td><input name="num_carte" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td>
</tr>
<tr>
<td><span class="Style13">Plafond</span></td>
<td width="194"><span class="Style7">
<input name="plafond" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/>
</span></td>
</tr>
<tr>
<td>Taux de couverture:</td>
<td>
<select name="taux" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; width:100px'>
<option>0</option>
<option>1</option>
<option>2</option>
</select>
%</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2"><span class="Style13"> </span>
<table width="391" border="0">
<tr>
<td>Tiers payant:</td>
<td><input type="radio" name="tiers" value="1" id="ok_0" /></td>
<td>Part assurance</td>
</tr>
<tr>
<td> </td>
<td><input type="radio" name="tiers" value="0" id="ok_1" /></td>
<td>Part Patient</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
<script type="text/javascript">
var oui = document.form1.choix[0];
var non = document.form1.choix[1];
oui.onclick = function() {
document.getElementById("hidden").style.display = "block"
};
non.onclick = function() {
document.getElementById("hidden").style.display = "none"
};
</script>
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Document sans titre</title> <script language="Javascript"> // ================== // Activations - D?ctivations // ================== function GereControle(Controleur, Controle) { document.getElementById(Controle).style.display=(Controleur=='radio_10')?'block':'none'; } </script> </head> <body> <table width="568" border="0"> <tr> <td width="65">Assure</td> <td width="70"><input type="radio" id="radio_10" name="radios_0" onClick="GereControle('radio_10', 'liste_10');" CHECKED> <label for="radio_10">Oui</label></td> <td width="419"><input type="radio" id="radio_20" name="radios_0" onClick="GereControle('radio_20', 'liste_10');"> <label for="radio_20">Non</label></td> </tr> </table> <div id="liste_10"> <div style="position: absolute; top: 100px; left: 14px; height: 347px;"> <table width="1003" height="203" border="0" align="center" bgcolor="#FFFFFF"> <tr> <td colspan="4"></td> </tr> <tr> <td width="210"><span class="Style13">Nom assurance</span></td> <td colspan="3"><input name="nom_assurance" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td> </tr> <tr> <td><span class="Style13">Nom Soci?</span></td> <td colspan="3"><input name="nom_societe" type="text" size="50" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td> </tr> <tr> <td><span class="Style13">Nom de l'assur?span></td> <td colspan="3"><input name="nom_assure" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td> </tr> <tr> <td><span class="Style13">Num? de carte d'assurance:</span></td> <td colspan="3"><input name="num_carte" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td> </tr> <tr> <td><span class="Style13">Plafond</span></td> <td width="168"><span class="Style7"> <input name="plafond" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/> </span></td> <td width="89"> </td> <td width="382"> </td> </tr> <tr> <td>Taux de couverture:</td> <td colspan="3"><span class="Style7"> <select name="taux" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'> <option>0</option> <option>1</option> <option>2</option> </select> %</span></td> </tr> <tr> <td><span class="Style13">Tiers payant: </span></td> <td colspan="2"><input name="tiers" type="text" style='background-color: #99CC00; color: #FFFFFF; font-weight: bold; border-width: 1px; font-size:12pt'/></td> <td> </td> </tr> </table> </div></div> </body> </html>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question<div id="liste_10" style="display:none">
<td width="70"><input type="radio" id="radio_10" name="radios_0" onClick="GereControle('radio_10', 'liste_10');"> <label for="radio_10">Oui</label></td>