I am forming a table from a JSON as shown below
<script type="text/x-handlebars" data-template-name="index">
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>Participant</th>
</tr>
</thead>
<tbody id="ParticipantList">
<tr>
<td> </td>
<td> </td>
<td><img src="image.jpg" alt="Remove"></td>
</tr>
</tbody>
</table>
</script>
Incase the size of JSON is 1 (one) , how can i hide the Remove td (last td)
http://jsfiddle.net/6Evrq/1805/
Aucun commentaire:
Enregistrer un commentaire