I m trying to generate dynamic table with jquery. So stuck on appending in appending. Need to write something like this. But of course it have wrong syntax :)
var $tbl = $( <table> ).attr( id , basicTable );
$tbl.append($( <tr> ).for(var i = 0; i < 10; i++){($( <td> )});
$( body ).append($tbl);