【发布时间】:2015-02-25 21:46:57
【问题描述】:
我有一个单列表格,表格的每个条目都是一个文本区域。用户在多行中填写文本区域后,我想通过单击按钮将每个文本区域的数据存储在集合中。我怎样才能在 Meteor 中做到这一点? HTML 模板如下所示:
<table id="myTable" class="table table-bordered">
<thead>
<tr>
<th>Notes</th>
</tr>
</thead>
<tbody>
{{#each items}}
<tr>
<td id="notes">
<textarea rows="4" cols="50">
</textarea>
</td>
</tr>
{{/each}
</tbody>
</table>
【问题讨论】:
标签: javascript meteor