1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| #masquer
{
display:none;
}
</style>
<script type="text/javascript">
function affichage(valeur)
{
var masque = document.getElementById("masque");
masque.style.display = valeur;
}
</script>
</head>
<body>
<div class="central">
<fieldset><legend>Recherche</legend>
<form action="" method="post" enctype="" id="mon_formulaire">
<table>
<tr>
<td><label>Chercher</td>
<td> : <input type="text" name="" /></td>
</tr>
<tr>
<td><label>Options complémentaires</td>
<td> <input type="radio" value="block" onclick="affichage(this.value)" />Afficher <input type="radio" value="none" checked="checked" onclick="affichage(this.value)"/>Masquer</td>
</tr>
<!-- Début masque par défaut -->
<tr id="masque">
<td><label>auteur</td>
<td> : <input type="text" name="" /></td>
</tr>
<tr id="masque">
<td><label>Siècle</td>
<td>: <input type="text" name="" /></td>
</tr>
<tr id="masque">
<td><label>ordre :</td>
<td>: <input type="radio" name="ordre" value="asc" />Croissant <input type="radio" name="ordre" value="desc" />Décroissant </td>
</tr>
<!-- Fin masqué par défaut --> |
Partager