bonjour a tous,
dans un code pareil:
est ce que le code mis entre la balise <body></body> sera exécuté avant la fonction onLoad="afficherTabEtat(); ou bien vice versa.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <body onLoad="afficherTabEtat();"> <form id="form1" name="form1" method="post" action=""> <table class="tableEtat"> <caption> <br /> Veuillez selectionner l'annee et le mois: </caption> <tr> <th height="43" scope="col"><label for="annee">Annee</label> <select name="annee" class="prefix_1" id="annee" onchange="changeSelectionneur(this);"> <% while (anneeInt > 2006) { %> <option><%=anneeInt%></option> <% anneeInt = anneeInt - 1; %> <% } %> </select></th> <th scope="col"><label for="mois">Mois</label> <select name="mois" class="prefix_1" id="mois"> <% for (int i = 0; i < mois.size(); i++) { %> <option><%=mois.get(i)%></option> <% } %> </select></th> <th scope="col"><INPUT type="button" value=" Afficher " ONCLICK="request(readDataMaint);"> <span id="loader"style="display: none;"><img src="images/loader.gif" alt="loading" /></span> </th> </tr> </table> </form> </body>
merci d'avance.







Répondre avec citation
Partager