Bonjour !

J aimerais creer un tableau et l afficher sur ma page oueb - je verrai plus tard comment le remplir automatiquement - la j ai du mal rien qu a l afficher.

J ai des boutons pour recuperer les valeurs 1 et 2 avant dans le code, mais avant tout j aimerais verifier que les premieres cellules s affichent quand juste on lance la fonction en cliquant sur le bouton.

Pour l instant rien ne s affiche. Du tout. Je suppose que la raion est "c est pas comme ca qu on fait mais pas du tout"

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
 
<script langage="text/javascript">
	function SelectMSN(value1, value2)
	{
	<table border=0 cellspacing=0 cellpadding=0 style="border: windowtext 0.1pt solid;border-collapse:collapse;">
	<tr>
 		<td class="cell2" width=65><b>Status</b></td>
  		<td class="cell2" width=50 align=center><b>A/C</b> </td>
  		<td class="cell2" width=45 align=center><b>Var</b> </td>
  		<td class="cell2" width=65 align=center><b>Reg</b></td>
  		<td class="cell2" width=30 align=center><b>Ser</b> </td>
  		<td class="cell2" width=135><b>Operator in NA</b></td>
  		<td class="cell2" width=60 align=center><b>Engine</b></td>
  		<td class="cell2" width=50 align=center><b>Eng Var</b></td>
  		<td class="cell2" width=45 align=center><b>Seats</b></td>
  		<td class="cell2" width=35 align=center><b>Age</b></td>
  		<td class="cell2" width=125><b>Usage</b></td>
  		<td class="cell2" width=80><b>Country</b></td>  
  		<td class="cell2" width=230><b>Notes</b></td>    
	</tr>
	</table>
	}
</script>
 
</body>
</html>
Merci d'avance !