I have a PHP template that is compiled with Smarty. In this code I have embedded div sections, similar to this:
<div>
<div id="services" style="margin-top: 5px; width: 100%; display:none;">
<div id='blocking' style="float: left; width: 100%;">
<div id="div1" ...>
</div>
<div id="div2" style="float: left; height:100px; width: 100%; margin-top: 4px; margin-bottom:4px;">
<table id="list" width="100%">
<thead>
<tr>
<th width="30%" class="tablaIzq">Lists</th>
<th width="70%" class="tablaIzq">Description</th>
</tr>
</thead>
<tbody id="LBBody">
</tbody>
</table>
</div>
</div>
</div>
</div>
A webservice es called using ajax+json... and I would like to put some of the data that I receive in the tbody LBBody but when I try using jquery's append nothing is appended.
It's done like this:
$("#LBBody").append('<tr><td class="tablaIzq" style="font-weight: normal; height: 22;" colspan="3">Hi</td></tr>')
Am I using append wrongly?
Thanks and best regards.