<a href="@Url.Action("del", "Faculty", new { id = item.Faculty_Name })" title="del" class="btndel"> <img src="@Url.Content("~/Content/Images/webgrid/delete.png")" /> </a> $(".btndel").live("click", function (e) { // e.preventDefault(); use this or return false url = $(this).attr('href'); $("#dialog-confirm").dialog('open'); return false; });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)