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
| <!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://localhost/VieScolaire/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="http://localhost/VieScolaire/assets/js/jquery.chained.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(function(){
$("#eleve").chainedTo("#classe");
});
</script>
<h2>Sanctions</h2>
</head>
<body>
<form name="sanctions" method="post" action="http://localhost/VieScolaire/sanctions/verifprem">
<p>Nature de la décision:
<select name='nature'>
<option>Sanction</option>
<option>Punition</option>
<option>(Distinction)</option>
</select>
</p>
<p>Classe:
<select id="classe">
<option value="">--</option>
<option value="1">2TSIRIS</option>
<option value="2">3TSIRIS</option>
<option value="3">1TSIRIS</option> </select>
</p>
<p>Elève concerné:
<select id="eleve">
<option value="">--</option>
<option value="1" class="2">RAMON Lionel</option>
<option value="2" class="3">Jean PHP</option> </select>
</p>
</form>
</body> |