Canalblog
Editer l'article Suivre ce blog Administration + Créer mon blog
Publicité
Soucis et solutions de programmations
Soucis et solutions de programmations
Publicité
Archives
5 mai 2008

<html> <head> <script

<html>
  <head>
    <script language="JavaScript">
      function controle_tout(value)
      {
var choix = document.formulaire.cases;
for ( var i = 0; i < choix.length; ++i )
  choix[i].checked = value;
      }
      
      function multisupprime()
      {
var choix = document.formulaire.cases;
for ( var i = 0; i < choix.length; ++i )
  if ( choix[i].checked == true )
    ::lancer_lien(i)
      }
 
    </script>
  </head>

  <body>
    Sélectionner les cases à cocher:
    <form name="formulaire">
      <input type="checkbox" name="cases" value="un" />Premièr choix
      <br>
      <input type="checkbox" name="cases" value="deux" />Second choix
      <br>
      <input type="checkbox" name="cases" value="trois" />Troisième choix
      <br>
      <input type="checkbox" name="cases" value="quatre" />Quatrième choix
      <br>
      <input type="checkbox" name="cases" value="cinq" />Cinquième choix
      <br>
    </form>
  </body>
</html>
Publicité
Publicité
Commentaires
Publicité