insertion de texte dans tableau sous IE7
bonjour,
j'ai l'erreur de type inconnu sur cette ligne de commande :
Code:
1 2
| maChaine="<tr><td></td>toto</td></tr>";
document.getElementById('CorpsTab').innerHTML = maChaine; |
le tableau est dans un formulaire :
Code:
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
| <table id="TabVLAN">
<thead>
<tr>
<th colspan="4">VLAN</th>
<th colspan="5">Port</th>
<th></th>
</tr>
<tr>
<th>N°</th>
<th>Enable</th>
<th>ID</th>
<th>PRI</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th></th>
</tr>
</thead>
<tbody id="CorpsTab">
</tbody>
</table> |
=> il n'y a pas de probleme sous firefox : que faire ?