Hi,
<table id="t1">
<tr>
<td>
<table id="t2">
<tr><td></td></tr>
</table>
</td>
</tr>
</table>
>
> Ich finde mit
>
> ~~~javascript
> var Knoten = document.getElementsByTagName("table")[0].lastChild;
>
die Tabele mit der id "t1"
Nein, damit findest du das (letzte) TR-Element unterhalb von #t1.
Du scheinst eine falsche Vorstellung davon zu haben, was lastChild ist.
MfG ChrisB
--
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?