Я бы не включил jQuery для такой простой задачи.
var table = document.getElememtsByTagName("table")[0]; //if it is the first or only table, you could change 0 to any other number if the table always is at the same position
, или вы могли бы дать вашей таблице идентификатор:
var table = document.getElementById("my-table");
, чтобы получить html, просто позвоните
var foo = table.innerHtml;