[jQuery] Problem in creating Dynamic tables

[jQuery] Problem in creating Dynamic tables


Hi All,
I am trying to create a dynamic table. It is to be created on onchange
event of a text box which will tell how many templates to be added.
The structure which I want to add to my page dynamically is
<table>
<thead>
<tr>
<td><input.../></td>
</tr>
<tr>
<td>label1</td>
<td>label2</td>
</tr>
</thead>
<tbody>
lots of inputs and checkboxes
</tbody>
</table>
This is one unit which I want to add on tabbing out of the text box.
It can be added any no of times.
thanks,
Anand