我希望在表中加载数据,但我希望在页面加载之后执行此操作。实际的页面有一个表、一个文本框和一个搜索按钮。我认为ajax会有所帮助,但我还没有找到解决我的问题的好方法。我该怎么做呢?Javascript、Jquery或其他。
<table class="roundAll" >
<tr class="titleRow">
<th colspan="2">New Entries</th>
</tr>
<%foreach(var item in Model.NewList) { %>
<tr>
<td><%=item.Date.ToShortDateString() %></td>
<td><%=Html.ActionLink(item.id,"Redirect/" + item.id)%></td>
</tr>
<% } %>
</table>
<br/>
<table>
<td><%= Html.TextBox("IdNum") %></td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</table>发布于 2010-08-09 21:44:06
页面加载完成后,运行一个jquery脚本,该脚本将使用ajax加载数据,并使用jQuery Templates绑定数据
https://stackoverflow.com/questions/3440551
复制相似问题