MVC的Ajax异步请求
2020-11-25 04:54
标签:blog class code java tar ext Html部分代码 MVC的Ajax异步请求,搜素材,soscw.com MVC的Ajax异步请求 标签:blog class code java tar ext 原文地址:http://www.cnblogs.com/xiaofengfeng/p/3705185.html
@using
(Ajax.BeginForm("GetTime","order",new
AjaxOptions()
{
Confirm="你确认这么做吗?",
HttpMethod="post",
OnSuccess = "afterajax",
UpdateTargetId="result",
InsertionMode=InsertionMode.Replace,
LoadingElementId = "loading",
}))
{
"text"
name="txtname"
/> "submit"
name="获取时间"
/> }
"loading">
"~/Content/Images/loading.gif"
/>
"result">
上一篇:PHP初解