Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否有使用MVC架构(asp.net、c#、jquery、ajax)自动保存冗长web表单数据的API/解决方案_C#_Jquery_Ajax_Asp.net Mvc_Autosave - Fatal编程技术网

是否有使用MVC架构(asp.net、c#、jquery、ajax)自动保存冗长web表单数据的API/解决方案

是否有使用MVC架构(asp.net、c#、jquery、ajax)自动保存冗长web表单数据的API/解决方案,c#,jquery,ajax,asp.net-mvc,autosave,C#,Jquery,Ajax,Asp.net Mvc,Autosave,我试图在Html代码中遵循此代码 @Html.ValidationSummary(true) @LabelFor(model=>model.Username,htmlAttributes:new{onchange=“function()”,@class=“control label col-md-2”}) @EditorFor(model=>model.Username) @Html.ValidationMessageFor(model=>model.Username) @LabelFor

我试图在Html代码中遵循此代码



@Html.ValidationSummary(true) @LabelFor(model=>model.Username,htmlAttributes:new{onchange=“function()”,@class=“control label col-md-2”}) @EditorFor(model=>model.Username) @Html.ValidationMessageFor(model=>model.Username) @LabelFor(model=>model.Password,htmlAttributes:new{onchange=“function()”,@class=“control label col-md-2”}) @EditorFor(model=>model.Password) @Html.ValidationMessageFor(model=>model.Password)
您需要使用JQuery/Javascript来

  • 超时后保存数据
  • 检测重定向/刷新
  • 检测DOM闭包

我不知道MVC中有任何现有的库或功能可以做到这一点。

(关于问题格式的注释)列表项应具有适当的间距。请检查1.4KB?我认为在现代浏览器中它的大小在5到10MB之间。