I am learning JS and after fiddling around with adding elements etc I tried to do an alert() with the object but instead got this error: [object htmltableelement]
so I then tried:
alert(t.toString());
and got the same error… how can I see the contents of the object?
you can use firebug:
or you can use innerHTML;