0

テーブルの行の位置をデータベースに保存しました。ここで、位置に応じてテーブル行を表示したいと思います。jQueryでこのテーブルデータのオンロードを行う方法を教えてください。

すなわち私のコード:

<table id="table">
<thead>
<th></th>
<th align="left">Title</th>
<th align="left">Importance</th>
<th align="left">Urgency</th>
<th></th>
</thead>
<tbody>
<%for(Todo todo:todoList){ %>
<tr>

<td><input type="checkbox" id="todocheck" value="<%=todo.getId()%>"/></td>
<td><a href="#" id="aid" style="padding-left:<%=todo.getCss()%>"><%=todo.getTitle() %></a></td>
<td><input type="text" id="importance" value="<%=todo.getImportance()%>" /> </td>
<td><input type="text" id="urgency" value="<%=todo.getUrgency()%>" /> </td>
<td><input type="hidden" name="parentId" id="parentId" value="<%=todo.getParent_tash_id()%>"/></td>

</tr>
<%} %>
</tbody>
</table>
4

0 に答える 0