DOM-jQuery

by pw_we1

HTML

<table id="dynTable">
  <thead>
    <tr>
      <th>Kopf</th>
    </tr>
  </thead>
</table>

CSS

table {
  border-collapse: collapse;
}
table, th, td {
  border: 1px solid black;
}

JavaScript

$("#dynTable")
 .append( $("<tr>")
  .append( $("<td>")
   .append("Feldinhalt")));