Bonjour,
J�affiche un tableau avec un scroll et une ent�te fixe. Avec un script en JavaScript je ferme et j�ouvre ce tableau.
Je voudrais savoir comment en javascript je positionne l�ascendeur en haut du tableau � la fermeture et l�ouverture du tableau ?
Merci
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 <div id="id" class="tableContainer"> <table width="99.5%" id="tabid" cellpadding="0px" cellspacing="0px"> <thead class="fixedHeader"> <tr> <th>titre1</th> <th> titre2</th> <th> titre3</th> </tr> </thead> <tbody class="scrollContent"> <tr> <td>exemple1</td> <td> exemple2</td> <td> exemple3</td> </tr> </tbody> </table> </div>
Partager