您将如何仅使用 Jquery + Ajax 重写此语句?此代码显示一个链接。当我单击它时,视图将返回到 StuffPanel id。
@{ AjaxOptions options = new AjaxOptions
{
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "StuffPanel",
OnBegin = "OnBeginWork",
OnComplete = "OnCompleteWork",
};}
<p>@Ajax.ActionLink("show stuff", "Index", "Stuff", options)</p>