嗨,大家好,我想使用jquery,当我在编辑或详情点击或删除在mvc3中使用jquery创建一个弹出窗口?
这是我CSHTML外观
@model IEnumerable<BugTracker.Models.ProjetModel>
@{
ViewBag.Title = "Projects";
}
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table>
<tr>
<th>
ProjectName
</th>
<th>
Description
</th>
<th>
Status
</th>
</tr>
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.projectName)
</td>
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>
<td>
@Html.DisplayFor(modelItem => item.status)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id = item.projectName }) |
@Html.ActionLink("Details", "Details", new { id = item.Description }) |
@Html.ActionLink("Delete", "Delete", new { id = item.status })
</td>
</tr>
}
</table>
<div class="main_a">
<h1>Edit</h1>
<div class="lable">
<span>User Name</span>
<input type="text" />
<label>User Name</label>
<input type="text" />
<label>User Name</label>
<input type="text" />
<a href="#"><input type="submit" value="save" /></a>
<input type="button" value="Cancel" />
</div>
</div>
我希望当我点击,弹出窗口中创建一个弹出窗口我的弹出式窗口的编辑应该<div class="main_a">
任何一个可以帮助我在这里请