<script src="http://code.jquery.com/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
var array = [1,2,3];
$('body').append('<table><tr/></table>');
for(var i=0, j=0; j=array[i]; i++){
$('table tbody > tr').append('<td style="border: 1px solid">'+array[i]+'</td>');
}
});
</script>