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]=\
You can try with this selector $('#myTable tr:nth-child('+row+') td:nth-child('+col'+)').html("sdfasdf");
$('#myTable tr:nth-child('+row+') td:nth-child('+col'+)').html("sdfasdf");