[jQuery] reading values from HTML tables

[jQuery] reading values from HTML tables


Hi all,
Any help would really be much appreciated.
I have a table, how can I read the cell values of the table ...
Currently I have ...
function test () {
var address;
var i;
for (i=1;
i<document.getElementById('veh_odometer').rows.length; i++)
{
address =
document.getElementById('veh_odometer').rows[i].cells[2].data;
alert('VALUE: '+address)
}
}
I do loop through the table, but my variable address is undefined.
Any ideas?