他,我有这个页面,我在表格中的每个项目旁边都有复选框,并希望允许用户选择其中一些并按下我的删除按钮.我只是不能提出jquery进行确认窗口,只有在推送'是'时才提交 - 这是我的页面
<%Html.BeginForm(); %>
<%List<ShopLandCore.Model.SLGroup> groups = (List<ShopLandCore.Model.SLGroup>)Model; %>
<%Html.RenderPartial("AdminWorkHeader"); %>
<table width="100%" id="ListTable" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5" class="heading">
<input type="submit" name="closeall" value="Close selected" />
<input type="submit" name="deleteall" value="Delete selected" />
</td>
</tr>
<tr>
<th width="20px">
</th>
<th>
Name
</th>
<th>
Description
</th>
<th width="150px">
Created
</th>
<th width="150px">
Closed
</th>
</tr>
<%foreach (ShopLandCore.Model.SLGroup g in groups)
{ %>
<tr>
<td>
<%=Html.CheckBox(g.Id.ToString()) %>
</td>
<td>
<%=g.Name %>
</td>
<td>
<%=g.Description %>
</td>
<td>
<%=g.Created %>
</td>
<td>
<%=g.Closed …Run Code Online (Sandbox Code Playgroud) asp.net-mvc ×1