I would like to set the value of all the cells of a table by iterating through them. Ideally I would like to access a Html table like an array i.e. $(\"#tbl\")[row][col]=\
$(\"#tbl\")[row][col]=\
$(document).ready(function () { var $rows = $("#tbl").find("tr"); for (var row = 0; row < 3; row++) { var $columns = $($rows[row]).find("td"); for (var col = 0; col < 3; col++) { $($columns[col]).append("sdfasdf"); } } });