I am generating dynamic links using below code in mvc razor views.
@foreach (App.Models.Users item in Model )
{
@Html.ActionLink("Delete", "DeleteEmp", new { id = item.Id }, new { onclick = "DeleteConfirm()" })
}
i want to pass the id or some other filed of model(item.Name) currently clicked link to Jquery method.