
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 0.79 KB | hits: 16 | expires: Never
populate document using javascript pattern
<table id="session">
<thead>
<tr>
<div class="borderContainer">
<div></div>
</div>
<script type="template" id="thead">
<div class="borderContainer">
<div></div>
<h3>{ColName}</h3>
</div>
</script>
</tr>
</thead>
<tbody>
<script type="template" id="tbody">
<tr>
<td class="row">
<div class="borderContainer">
<div></div>
<h3>Row I</h3>
</div>
</td>
<!--
When the parent pattern is appended to the DOM
populate the table additionally.
-->
</tr>
</script>
</tbody>
</table>