日期:2014-05-17  浏览次数:20403 次

mvc下的ajax问题
<h2>学生信息</h2>

<table>
    <tr>
        <th></th>
        <th>
           姓名
        </th>
        <th>
            性别
        </th>
        <th>
            年龄
        </th>
        <th>
            学院
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td >
            @Html.ActionLink("编辑", "Edit", new { id=item.ID }) |
            @Html.ActionLink("明细", "Details", new { id=item.ID }) |
            @Html.ActionLink("删除", "Delete", new { id=item.ID})        </td>
        <td>
            @item.Name
        </td>
        <td>
            @item.sex
        </td>
        <td>
            @item.Age
        </td>
        <td>
            @item.Collage
        </td>
    </tr>
}

</table>

我想点击那个删除,实现不刷新的删除,但是我不知道从哪下手,求大侠给个思路
mvc ajax delete table 异步删除

------解决方案--------------------
http://bbs.csdn.net/topics/370102315

看(6)使用jQuery使表单Ajax化

有教程有代码,自己看