Javascript - get all table -> tr > id-Werte

Möchte ich Zugriff auf alle Werte einer Tabelle tr-id-Feld.

<table>
<tr id="1"></tr>
<tr id="2"></tr>
<tr id="3"></tr>
<tr id="4"></tr>
<tr id="5"></tr>
</table>

Was ich tun möchte, ist, Sie mithilfe einer javascript-Funktion, die ein array und haben Zugang zu

[1,2,3,4,5]

Vielen Dank!

InformationsquelleAutor Miguel | 2010-02-15
Schreibe einen Kommentar