-1
完成Ajax.actionlink調用後如何顯示彈出消息,我有以下ajax.actionlink: -在myasp.net MVC應用程序
@Ajax.ActionLink("Delete", "Delete", "Answer",
new { id = answer.AnswersID },
new AjaxOptions
{
Confirm = "Are You sure You want to delete this Answer ?",
HttpMethod = "Post",
UpdateTargetId = @answer.AnswersID.ToString(),
OnSuccess = "removePartial2",
})
目前如果調用成功,它會調用removePartial2 Java腳本,,,但我怎麼能成功完成「刪除成功」的通話後顯示確認消息?
我想這一點,它的工作原理以及在Internet Explorer,但它沒有在Firefox上運行,,, – 2012-03-08 21:34:37