안녕 얘들 아 내가 편집 또는 세부 사항을 클릭하거나이 내 cshtml은 내가 클릭하면 팝업 창을 얻고 싶은mvc3에서 Jquery를 사용하여 팝업 창을 만드시겠습니까?
@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>
모습입니다
삭제할 때 jQuery를 사용하여 팝업 창을 만들려면 내 팝업 창에서 편집 당신은 jQuery UI dialog을 사용할 수