You can do it :
Create table
Jquery:
$("#my_id_container").html("<table><thead></thead><tbody></tbody></table>");
Html:
<div id="my_id_container"></div>
Add value of this tableau :
$("#my_id_container").find('table tbody').append('<tr>My new ligne</tr>');
solved how to create dynamic array and adding dynamic values using jQuery.