有人知道Ratchet http://goratchet.com/是否有可能创建一个复选框列表来选择项目? 文档仅显示了制作简单列表的技术:
<ul class="table-view">
<li class="table-view-cell">Item 1 <span class="badge">4</span></li>
<li class="table-view-cell">Item 2 <span class="badge">1</span></li>
<li class="table-view-cell">Item 3 <span class="badge">5</span></li>
</ul>
答案 0 :(得分:1)
这应该是非常直接的......
<div class="content">
<ul class="table-view">
<li class="table-view-cell">
<input type="checkbox" /> Check Box
</li>
<li class="table-view-cell">
<input type="checkbox" /> Check Box
</li>
<li class="table-view-cell">
<input type="checkbox" /> Check Box
</li>
<li class="table-view-cell">
<input type="checkbox" /> Check Box
</li>
</ul>
</div>