0
내가 가진이 코드유성은 일을 onrendered 각
Template.drone.onRendered(function() {
var userid = Meteor.userId();
$('.table > tbody > tr').each(function() {
var friendid = $(this).find("td:first").html();
var userid = Meteor.userId();
alert('this rendered inside each');
});
});
이 템플릿을 테이블 반복 위
Template name="drone">
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Names</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{{#each allusers }}
<tr>
<td class="buttonId">{{_id}}</td>
<td>{{profile.name}}</td>
<td class="buttonAction">hi</td>
</tr>
{{/each}}
</tbody>
</table>
</template>
코드를하고 테이블에서 데이터를 유용한 무언가를 행, 즉 각 td의 id.
이 코드가 alert('this rendered inside each');
이 실행되지 않는 이유가 궁금합니다.